Issue 140019
Summary llvm20 build error, -DLLVM_ENABLE_PROJECTS="clang;mlir;"
Labels clang, mlir
Assignees
Reporter jackniu1234
    Hi,

I encounter an error when building llvm 20 on MacOS 15, the error messages is below:

> /mlir/include/mlir/IR/Location.h:128:10: fatal error: 'mlir/IR/BuiltinLocationAttributes.h.inc' file not found
  128 | #include "mlir/IR/BuiltinLocationAttributes.h.inc"


The whole cmake command I used is:

> cmake -S llvm -B build -G "Unix Makefiles" -DLLVM_ENABLE_PROJECTS="clang;mlir;" -DCLANG_ENABLE_CIR=ON -DLLVM_BUILD_EXAMPLES=ON  -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="Nativeā€œ

Besides, this problem misses when building llvm19.

Any help will be greatly appreciated!

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to