diff options
author | Chris Bieneman <beanz@apple.com> | 2016-08-17 21:51:38 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-08-17 21:51:38 +0000 |
commit | ad04300bd394a35ef08bba28a0db31b23e6a6178 (patch) | |
tree | 65ac56b4ee1193d84935a3f6ea40b7ec66f37ad5 /clang/cmake | |
parent | d4a09f3223b86198027aef562ff4432c503cdff8 (diff) |
[CMake] Adding toolchain targets to PGO and Apple CMake caches
The Xcode toolchain targets are useful on OS X hosts because you can construct and install multiple toolchians that can be used seamlessly.
Diffstat (limited to 'clang/cmake')
-rw-r--r-- | clang/cmake/caches/Apple-stage2.cmake | 2 | ||||
-rw-r--r-- | clang/cmake/caches/PGO-stage2-instrumented.cmake | 1 | ||||
-rw-r--r-- | clang/cmake/caches/PGO.cmake | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/clang/cmake/caches/Apple-stage2.cmake b/clang/cmake/caches/Apple-stage2.cmake index 1d3343561e2..11c595c1530 100644 --- a/clang/cmake/caches/Apple-stage2.cmake +++ b/clang/cmake/caches/Apple-stage2.cmake @@ -20,6 +20,8 @@ set(BUG_REPORT_URL "http://developer.apple.com/bugreporter/" CACHE STRING "") set(LLVM_BUILD_EXTERNAL_COMPILER_RT ON CACHE BOOL "Build Compiler-RT with just-built clang") set(COMPILER_RT_ENABLE_IOS ON CACHE BOOL "Build iOS Compiler-RT libraries") +set(LLVM_CREATE_XCODE_TOOLCHAIN ON CACHE BOOL "Generate targets to create and install an Xcode compatable toolchain") + # Make unit tests (if present) part of the ALL target set(LLVM_BUILD_TESTS ON CACHE BOOL "") diff --git a/clang/cmake/caches/PGO-stage2-instrumented.cmake b/clang/cmake/caches/PGO-stage2-instrumented.cmake index 37b319c961c..858c07f5626 100644 --- a/clang/cmake/caches/PGO-stage2-instrumented.cmake +++ b/clang/cmake/caches/PGO-stage2-instrumented.cmake @@ -2,6 +2,7 @@ set(CLANG_ENABLE_BOOTSTRAP ON CACHE BOOL "") set(CLANG_BOOTSTRAP_TARGETS distribution install-distribution + install-distribution-toolchain check-all check-llvm check-clang diff --git a/clang/cmake/caches/PGO.cmake b/clang/cmake/caches/PGO.cmake index bca9ba0dea3..1f298fabeca 100644 --- a/clang/cmake/caches/PGO.cmake +++ b/clang/cmake/caches/PGO.cmake @@ -9,6 +9,7 @@ set(CLANG_BOOTSTRAP_TARGETS stage2 stage2-distribution stage2-install-distribution + stage2-install-distribution-toolchain stage2-check-all stage2-check-llvm stage2-check-clang |