instructions for how to build hera don't work
cdetrio opened this issue · comments
cdetrio commented
These instructions don't work.
$ cmake -DBUILD_SHARED_LIBS=ON ../
-- [cable ] Cable 0.2.13 initialized
-- [cable ] Build type: Release
CMake Error at cmake/ProjectWAVM.cmake:8 (find_package):
Could not find a package configuration file provided by "LLVM" (requested
version 6.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.
Call Stack (most recent call first):
CMakeLists.txt:50 (include)
-- Configuring incomplete, errors occurred!
See also "/home/ewasm/benchmarking/build/CMakeFiles/CMakeOutput.log".
Alex Beregszaszi commented
You must have HERA_WAVM=ON
specified somewhere.
https://github.com/ewasm/hera#build-options mentions:
-DLLVM_DIR=…
one will need to specify the path to LLVM's CMake file.
If you are sure -DHERA_WAVM=ON
wasn't specified, then please upload the CMakeOutput.log
and meanwhile add -DHERA_WAVM=OFF
.
Alex Beregszaszi commented
Please reopen if this issue persists. I believe it was a cmake configuration cache problem on your end.