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 on llvm13.0 #49

Open
Moriarty002 opened this issue Sep 14, 2021 · 3 comments
Open

build on llvm13.0 #49

Moriarty002 opened this issue Sep 14, 2021 · 3 comments

Comments

@Moriarty002
Copy link

image
I met problem when building llvm2c
It seems that some function is miss in newer llvm version

@lzaoral
Copy link

lzaoral commented Oct 5, 2021

I've just tested the build with final release of LLVM 13 on Fedora and everything compiled without any issues for me. What distro are you using?

@Moriarty002
Copy link
Author

I don't know what happen to my environment , my system has both llvm-13 and llvm-14 , may be I need to set the path to llvm ?

@lzaoral
Copy link

lzaoral commented Oct 5, 2021

You can select the desired LLVM version by passing -DLLVM_DIR="$(llvm-config-13 --cmakedir)" to CMake assuming that LLVM 13's llvm-config is in your PATH (it is called llvm-config-13 on Debian and Ubuntu). Otherwise, you need to specify a full path to the corresponding llvm-config binary.

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