-
Notifications
You must be signed in to change notification settings - Fork 34
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
LLVM_CONFIG-NOTFOUND failed #496
Comments
You may need to use -DLLVM_CONFIG=/path/to/llvm-config to point cmake in the right direction. |
Joe, currently I have "llvm-config: command not found". One should install LLVM first, right? |
Yes, you'll need LLVM and Clang 3.2 installed before building Clay. Note that later versions of LLVM and Clang aren't source-compatible, so it has to be 3.2. |
Joe, it seems one needs an advice. I have on my OS X machine LLVM with Clang, that I have built one month ago. It is not finally installed, because I just played with it. All binaries are still in the build directory. Today I checked versions: If I understand you correctly, I need to build LLVM with Clang ver. 3.2 and then install it. But by default I have Clang 5.1 (clang-503.0.40) (based on LLVM 3.4svn) on my machine. So, how I can use ver. 3.2 without override default installation to finally build Clay? |
LLVM and Clang installations can coexist in different locations. You should be able to install the 3.2 packages from http://llvm.org/releases/download.html#3.2 in, say, /usr/local/llvm-3.2, and point Clay's cmake config at /usr/local/llvm-3.2/bin/llvm-config, without disrupting your ToT installation. |
Trying to use Clay for the first time, but cmake says:
-- Using llvm-config: LLVM_CONFIG-NOTFOUND
CMake Error at CMakeLists.txt:32 (message):
LLVM_CONFIG-NOTFOUND failed
The text was updated successfully, but these errors were encountered: