Skip to content

llbuild cannot build cmake projects ('|' operator not supported) #877

@theoparis

Description

@theoparis

cmake version: 3.25.3
llbuild version: 5.2

It seems like llbuild cannot build cmake ninja manifests that utilize the | operator 👀

Error:

/home/theo/dev/dyadikos/build/_deps/vulkan-headers-subbuild/build.ninja:151:102: error: expected ':' token
  build vulkan-headers-populate-prefix/src/vulkan-headers-populate-stamp/vulkan-headers-populate-update | ${cmake_ninja_workdir}vulkan-headers-populate-prefix/src/vulkan-headers-populate-stamp/vulkan-headers-populate-update: CUSTOM_COMMAND vulkan-headers-populate-prefix/src/vulkan-headers-populate-stamp/vulkan-headers-populate-download

According to https://ninja-build.org/manual.html, it seems like it is implicit dependency syntax.

Implicit dependencies, either as picked up from a depfile attribute on a rule or from the syntax | dep1 dep2 on the end of a build line. The semantics are identical to explicit dependencies, the only difference is that implicit dependencies don’t show up in the $in variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions