Talk:LLVM
From NixOS Wiki
Regarding the command to run cmake:
cmake $cmakeFlags ../llvm-project/llvm
Does not work for me (in zsh) as $cmakeFlags is parsed as a single argument. I had to do:
cmake $(echo $cmakeFlags) ../llvm-project/llvm
Current setting has problems:
CMake Error at /home/user/llvm-project/libcxxabi/CMakeLists.txt:57 (message):
LIBCXXABI_USE_LLVM_UNWINDER is set to ON, but libunwind is not specified in
LLVM_ENABLE_RUNTIMES.
-- Configuring incomplete, errors occurred!