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

LLVM build fails with "No rule to make target 'NATIVE/bin/mlir-linalg-ods-yaml-gen'" #21

Open
Time0o opened this issue Oct 11, 2024 · 0 comments

Comments

@Time0o
Copy link
Member

Time0o commented Oct 11, 2024

NOTE: I have accidentally also opened this same issue using my work GitHub account, could someone with admin rights please delete that issue?

This seems like it might be an issue with llvm-project and not Cinnamon but I am unable to build the patched version of llvm with the build.sh script. It fails with:

gmake[2]: *** No rule to make target 'NATIVE/bin/mlir-linalg-ods-yaml-gen', needed by 'tools/mlir/include/mlir/Dialect/Linalg/IR/CMakeFiles/MLIRLinalgNamedStructuredOpsYamlIncGen'.  Stop.       
gmake[1]: *** [CMakeFiles/Makefile2:92185: tools/mlir/include/mlir/Dialect/Linalg/IR/CMakeFiles/MLIRLinalgNamedStructuredOpsYamlIncGen.dir/all] Error 2                                           
gmake[1]: *** Waiting for unfinished jobs....

I am getting this error both on Apple Silicon MacOS and x86 Ubuntu so I suspect it might be a systematic thing. I have recently been able to build LLVM/MLIR albeit from the latest release tag and with different CMake options.

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