Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
theoparis opened this issue Apr 25, 2023 · 0 comments
Open

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

theoparis opened this issue Apr 25, 2023 · 0 comments

Comments

@theoparis
Copy link

theoparis commented Apr 25, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant