llvm.org GIT mirror llvm / 6cfc1ad
[CMake] Pass Clang defaults to runtimes builds This enables the use of Clang default options from runtimes CMake files. Differential Revision: https://reviews.llvm.org/D47168 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332923 91177308-0d34-0410-b5e6-96231b3b80d8 Petr Hosek 1 year, 4 months ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
251251 -DCMAKE_C_COMPILER_WORKS=ON
252252 -DCMAKE_ASM_COMPILER_WORKS=ON
253253 PASSTHROUGH_PREFIXES COMPILER_RT
254 CLANG_DEFAULT
254255 USE_TOOLCHAIN
255256 ${EXTRA_ARGS})
256257 endfunction()
282283 -DCMAKE_ASM_COMPILER_WORKS=ON
283284 -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
284285 ${${target}_extra_args}
286 PASSTHROUGH_PREFIXES CLANG_DEFAULT
285287 TOOLCHAIN_TOOLS clang lld llvm-ar llvm-ranlib
286288 USE_TOOLCHAIN
287289 ${EXTRA_ARGS})
375377 -DCMAKE_CXX_COMPILER_WORKS=ON
376378 -DCMAKE_ASM_COMPILER_WORKS=ON
377379 PASSTHROUGH_PREFIXES LLVM_ENABLE_RUNTIMES
380 CLANG_DEFAULT
378381 ${ARG_PREFIXES}
379382 EXTRA_TARGETS ${extra_targets}
380383 ${test_targets}
458461 -DLLVM_RUNTIMES_TARGET=${name}
459462 ${${name}_extra_args}
460463 PASSTHROUGH_PREFIXES LLVM_ENABLE_RUNTIMES
464 CLANG_DEFAULT
461465 TOOLCHAIN_TOOLS clang lld llvm-ar llvm-ranlib
462466 EXTRA_TARGETS ${${name}_extra_targets}
463467 ${${name}_test_targets}