search for: external_clang_dir

Displaying 1 result from an estimated 1 matches for "external_clang_dir".

2017 Oct 18
2
LLVM cross-compilation cmake issues
...ke/modules/CrossCompile.cmake +++ b/cmake/modules/CrossCompile.cmake @@ -45,6 +45,9 @@ function(llvm_create_cross_target_internal target_name toolchain buildtype) # Propagate LLVM_EXTERNAL_CLANG_SOURCE_DIR so that clang-tblgen can be built set(external_clang_dir "-DLLVM_EXTERNAL_CLANG_SOURCE_DIR=${LLVM_EXTERNAL_CLANG_SOURCE_DIR}") endif() + unset(ENV{ASM}) + unset(ENV{CC}) + unset(ENV{CXX}) execute_process(COMMAND ${CMAKE_COMMAND} ${build_type_flags} -G "${C...