Closed ssinad closed 1 year ago
This error seems to be related to building LLVM, not RV?
This error seems to be related to building LLVM, not RV?
LLVM with RV inside it. The header files are included in the rv source files which cause the problem such as rv/src/rv.cpp
and rv/src/init.cpp
.
If I remove -DLLVM_EXTERNAL_PROJECTS="rv" -DLLVM_EXTERNAL_RV_SOURCE_DIR=llvm-project/rv
from cmake, LLVM would build just fine.
It's hard to tell without any log ...
The current master branch is stuck at LLVM 14, the release/14.x
branch is more up-to-date.
You can find a script that builds also LLVM + RV here: https://github.com/AnyDSL/anydsl/
Since there is no update, I assume that you could build RV.
I tried to build llvm-project with rv inside by adding the options to the
cmake
command (-DLLVM_EXTERNAL_PROJECTS="rv" -DLLVM_EXTERNAL_RV_SOURCE_DIR=llvm-project/rv
). However, I got the following error multiple times:I checked and it seems that
Attributes.inc
hasn't been generated yet.Is there a way to fix this?