[LLVMdev] CMake broken?

Edward Meewis ed at extraordinarymachine.nl
Mon Aug 2 12:48:17 PDT 2010


  On 02-08-10 20:55, Óscar Fuentes wrote:
> Yep. I can replicate the problem on Linux with
>
> mkdir foo&&  cd foo
> cmake -DLLVM_TARGETS_TO_BUILD=X86 ../llvm
>
> I'll investigate a bit.
Same here, but on FreeBSD 8.0

cmake -D CMAKE_BUILD_TYPE=Release -D 
CMAKE_C_COMPILER=/usr/local/bin/clang -D 
CMAKE_CXX_COMPILER=/usr/local/bin/clang++ -D LLVM_TARGETS_TO_BUILD=X86 
~/contrib/llvm

CMake Error at cmake/modules/LLVMConfig.cmake:90 (message):
   Library LLVMARMAsmParser not found in list of llvm libraries.
Call Stack (most recent call first):
   cmake/modules/LLVMConfig.cmake:27 (explicit_map_components_to_libraries)
   cmake/modules/LLVMConfig.cmake:20 (explicit_llvm_config)
   cmake/modules/AddLLVM.cmake:61 (llvm_config)
   cmake/modules/AddLLVM.cmake:78 (add_llvm_executable)
   tools/llvm-mc/CMakeLists.txt:3 (add_llvm_tool)

Works for target is LLVM_TARGETS_TO_BUILD=all

--Ed.




More information about the llvm-dev mailing list