Displaying 1 result from an estimated 1 matches for "build_type_flags".
2017 Oct 18
2
LLVM cross-compilation cmake issues
...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 "${CMAKE_GENERATOR}" -DLLVM_TARGETS_TO_BUILD=${LLVM_TARGETS_TO_BUILD}
${CROSS_TOOLCHAIN_FLAGS_${target_name}} ${CMAKE_SOURCE_DIR}
It would be more proper to save the values of these environment variables at
the start of t...