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!