diff options
author | Yuanfang Chen <yuanfang.chen@sony.com> | 2022-01-24 13:42:47 -0800 |
---|---|---|
committer | Yuanfang Chen <yuanfang.chen@sony.com> | 2022-01-24 14:27:14 -0800 |
commit | da85307ba699ea2260252f523e089c85e863d671 (patch) | |
tree | 8d76ed966a53bd28bea425bb072c255bf8aca044 /clang/runtime | |
parent | d87459a0b8e98afce89309459f1cc5ef33065f8e (diff) | |
download | llvm-da85307ba699ea2260252f523e089c85e863d671.tar.gz |
[CMake] Pass CMAKE_C/CXX_COMPILER_LAUNCHER down to cross-compile and runtime build
Similar to D59032.
Reviewed By: dexonsmith
Differential Revision: https://reviews.llvm.org/D117746
Diffstat (limited to 'clang/runtime')
-rw-r--r-- | clang/runtime/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/runtime/CMakeLists.txt b/clang/runtime/CMakeLists.txt index 61b1c60bf590..038800879251 100644 --- a/clang/runtime/CMakeLists.txt +++ b/clang/runtime/CMakeLists.txt @@ -78,6 +78,8 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/) -DCMAKE_ASM_COMPILER=${LLVM_RUNTIME_OUTPUT_INTDIR}/clang -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_MAKE_PROGRAM=${CMAKE_MAKE_PROGRAM} + -DCMAKE_C_COMPILER_LAUNCHER=${CMAKE_C_COMPILER_LAUNCHER} + -DCMAKE_CXX_COMPILER_LAUNCHER=${CMAKE_CXX_COMPILER_LAUNCHER} -DLLVM_CONFIG_PATH=${LLVM_RUNTIME_OUTPUT_INTDIR}/llvm-config -DLLVM_LIT_ARGS=${LLVM_LIT_ARGS} -DCOMPILER_RT_OUTPUT_DIR=${LLVM_LIBRARY_OUTPUT_INTDIR}/clang/${CLANG_VERSION} |