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 | 113ae487fb2a0f741a725950875a5e00db27add5 (patch) | |
tree | 719c2c138483f34e2cc5a260f94439fb82fd55a4 /cmake | |
parent | 7b6dda6db3c14df673c6f2403af6369e0630fc1f (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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278987 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/caches/Apple-stage2.cmake | 2 | ||||
-rw-r--r-- | cmake/caches/PGO-stage2-instrumented.cmake | 1 | ||||
-rw-r--r-- | cmake/caches/PGO.cmake | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/cmake/caches/Apple-stage2.cmake b/cmake/caches/Apple-stage2.cmake index 1d3343561e..11c595c153 100644 --- a/cmake/caches/Apple-stage2.cmake +++ b/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/cmake/caches/PGO-stage2-instrumented.cmake b/cmake/caches/PGO-stage2-instrumented.cmake index 37b319c961..858c07f562 100644 --- a/cmake/caches/PGO-stage2-instrumented.cmake +++ b/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/cmake/caches/PGO.cmake b/cmake/caches/PGO.cmake index bca9ba0dea..1f298fabec 100644 --- a/cmake/caches/PGO.cmake +++ b/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 |