-
Notifications
You must be signed in to change notification settings - Fork 3.6k
LLVM 4.0 could not find a package configuration file #3786
Comments
@DmsChrisPena can you run the following command and paste the full output here: $ find /usr -name LLVMConfig.cmake -print 2>/dev/null |
@pacificcode
|
@DmsChrisPena you have 2 versions of brew installed LLVM, you need to remove version 6. I would recommend the following commands: remove both versions of llvmbrew remove --force llvm run the eosio_build.sh script which will correctly install & link llvm version 4cd /path/to/eos Let me know how this works out for you. |
@pacificcode Ran all the commands and I'm still getting the same issue.
|
@DmsChrisPena I need to see the full output of running the eosio_build.sh script, can you run the following commands and paste the full output here: find /usr -name LLVMConfig.cmake -print 2>/dev/null |
@pacificcode Here it is, thanks so much.
|
also encounter this issue on OSX |
@DmsChrisPena @harlanc its looks as though you need to put /usr/local/bin in your PATH. run the following: export PATH=/usr/local/bin:$PATH Run the commands as described above and if you run into any further issues paste the full output here. |
This should be automated in the script |
I'm running into the same problem, went through all the suggestions and am still getting the same error. Any clue on how to fix this? Thanks |
@vladandrei run the following and paste the full output here: echo $PATH |
@pacificcode llvm-config --has-rtti was not found, so ran it without that option. Vlads-MacBook-Pro:eos vlad$ echo $PATH |
@vladandrei you have llvm@4 installed in your home-brew directory but its not showing up when you called llvm-config --version i.e. That would mean brew did not successfully sym link llvm@4 into your /usr/local/bin directory. brew remove --force llvm |
@DmsChrisPena Try this |
This issue has gone silent for several months. Closing |
still hitting that issue. |
using latest version of eosio build. `CMake Error at libraries/wasm-jit/Source/Runtime/CMakeLists.txt:26 (find_package):
Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set |
@kyprimo Try: export LLVM_DIR=/usr/local/Cellar/llvm@4
./eosio_build.sh |
Running on Mac OS 10.13.5 and this happens when running the build script:
./eosio_build.sh
Here is the error that I receive:
I've assured that LLVM 4.0.0 is installed via HomeBrew and also added the correct path to
LLVM_DIR
. If anyone has experienced this same issue please let me know, thanks so much!The text was updated successfully, but these errors were encountered: