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

cmake reports an error #66

Open
LWBobo opened this issue Aug 15, 2023 · 0 comments
Open

cmake reports an error #66

LWBobo opened this issue Aug 15, 2023 · 0 comments

Comments

@LWBobo
Copy link

LWBobo commented Aug 15, 2023

We used llvm14.0.5 and an error occurred when cmake included the -DLLVM_RVPLUG_LINK_INTO_TOOLS=ON option: undefined reference to `rv::addRVPasses(llvm::PassBuilder&)'.What can we do about it?

cmake /home/liuwb/llvm-project-14.0.5.src -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="/home/liuwb/llvm14.05-rv-install" ../llvm  -DLLVM_EXTERNAL_PROJECTS="rv" -DLLVM_EXTERNAL_RV_SOURCE_DIR=/home/liuwb/llvm-project-14.0.5.src/llvm/projects/rv  -DRV_ENABLE_CRT=ON -DRV_DEBUG=ON -DLLVM_RVPLUG_LINK_INTO_TOOLS=ON -DLLVM_ENABLE_PROJECTS=clang

make
make install
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