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

Build failure with cmake error #2921

Open
lionel92 opened this issue Aug 29, 2024 · 1 comment
Open

Build failure with cmake error #2921

lionel92 opened this issue Aug 29, 2024 · 1 comment

Comments

@lionel92
Copy link

lionel92 commented Aug 29, 2024

I followed the linux installation steps in docs/BuildOnLinuxOSX.md.

My llvm project was successfully built with mlir enabled.

But when I execute the cmake command for onnx, (with MLIR_DIR specified, MLIR_DIR=/home/me/llvm/builds/lib/cmake/mlir)
it reports errors as below:
Cmake Error at /home/me/llvm/builds/lib/cmake/llvm/AddLLVM.cmake (add_dependencies):
The dependency target "FileCheck" of target "check-stablehlo-linalg" does not exist.
All other dependencies FileCheck, not, split-file, count report the same error.

Do I miss anything? How to resolve this error?

image

@chentong319
Copy link
Collaborator

Can you try command ls /home/lin/Workspace/llvm-onnx/llvm/builds/lib/cmake/llvm/AddLLVM. cmake to see whether that file exists or not?

@github-staff github-staff deleted a comment from pabloaz10 Oct 22, 2024
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

2 participants