EOS安装出现LLVMConfig问题

CMake Error at libraries/wasm-jit/Source/Runtime/CMakeLists.txt:26 (find_package):

  Could not find a package configuration file provided by "LLVM" (requested

  version 4.0) with any of the following names:

 

    LLVMConfig.cmake

    llvm-config.cmake

 

  Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set

  "LLVM_DIR" to a directory containing one of the above files.  If "LLVM"

  provides a separate development package or SDK, be sure it has been

  installed.

-- Configuring incomplete, errors occurred!

尝试解决方案

brew cleanup

brew install  llvm@4

export LLVM_DIR=/usr/local/Cellar/llvm@4/4.0.1/lib/cmake/llvm;

./eosio_build.sh

cd build

sudo make install

 

你可能感兴趣的:(mac,block,chain)