<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-html-editor-font-wrapper="true" style="font-family: arial, sans-serif; font-size: 13px;">Hi,<br><br>I'm trying to build LLVM 5.0.1 with all components on ARM host. I'm not cross-compiling so everything is done natively. I use the following cmake options :<br><br>cmake -G "Unix Makefiles" .. \<br> -DCMAKE_BUILD_TYPE=Release \<br> -DCMAKE_INSTALL_PREFIX=/usr \<br> -DCMAKE_C_FLAGS="-march=armv7-a -mcpu=cortex-a9" \<br> -DCMAKE_C_COMPILER_TARGET=arm-linux-gnueabi \<br> -DPYTHON_EXECUTABLE=/usr/bin/python2.7 \<br> -DLLVM_ENABLE_LIBCXX=OFF \<br> -DLLVM_BUILD_TESTS=ON \<br> -DLLVM_BUILD_LLVM_DYLIB=ON \<br> -DLLVM_LINK_LLVM_DYLIB=ON \<br> -DLLVM_ENABLE_RTTI=ON \<br> -DLLVM_ENABLE_FFI=ON \<br> -DLLVM_ENABLE_ASSERTIONS=True \<br> -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON \<br> -DCOMPILER_RT_BUILD_BUILTINS=ON \<br> -DCOMPILER_RT_BUILD_SANITIZERS=OFF \<br> -DCOMPILER_RT_BUILD_XRAY=OFF<br><br>And I got the following error :<br><br>-- Performing Test CXX_SUPPORTS_NO_MACRO_REDEFINED - Success<br>-- Symbols (liblldb): exporting all symbols from the lldb namespace<br>-- Configuring done<br>CMake Error at cmake/modules/AddLLVM.cmake:1198 (add_dependencies):<br> The dependency target "profile" of target "check-all" does not exist.<br>Call Stack (most recent call first):<br> CMakeLists.txt:925 (add_lit_target)<br><br><br>CMake Error at cmake/modules/AddLLVM.cmake:1198 (add_dependencies):<br> The dependency target "profile" of target "check-builtins" does not exist.<br>Call Stack (most recent call first):<br> cmake/modules/AddLLVM.cmake:1219 (add_lit_target)<br> projects/compiler-rt/test/builtins/CMakeLists.txt:39 (add_lit_testsuite)<br><br>Do you know how to fix this ?<br><br>Please let me know if you need further details.<br> </div></body></html>