summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-04-26 18:39:20 +0000
committerChris Bieneman <beanz@apple.com>2016-04-26 18:39:20 +0000
commit35c913dd4cd51ca0cb816e1ec60d16bc205b74fb (patch)
tree72711d31e86ce3ff93961fbe0b35323f475d5bcb
parent4773f647bdf86da3fb95d7e34513d12bea55d60d (diff)
downloadbcm5719-llvm-35c913dd4cd51ca0cb816e1ec60d16bc205b74fb.tar.gz
bcm5719-llvm-35c913dd4cd51ca0cb816e1ec60d16bc205b74fb.zip
[CMake] Use just-built clang and build iOS support when building stage2
The Apple stage2 build should include compiler-rt iOS libraries and be built with the stage2 compiler. This matches Apple's production clang builds. llvm-svn: 267584
-rw-r--r--clang/cmake/caches/Apple-stage2.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/cmake/caches/Apple-stage2.cmake b/clang/cmake/caches/Apple-stage2.cmake
index 55481db6cf0..305d93a3d0c 100644
--- a/clang/cmake/caches/Apple-stage2.cmake
+++ b/clang/cmake/caches/Apple-stage2.cmake
@@ -17,6 +17,9 @@ set(CLANG_PLUGIN_SUPPORT OFF CACHE BOOL "")
set(BUG_REPORT_URL "http://developer.apple.com/bugreporter/" CACHE STRING "")
set(LLVM_ENABLE_TIMESTAMPS OFF CACHE BOOL "Don't time-stamp shipping builds - this makes builds reproducible")
+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")
+
# Make unit tests (if present) part of the ALL target
set(LLVM_BUILD_TESTS ON CACHE BOOL "")
# Don't build or run the compiler-rt tests
OpenPOWER on IntegriCloud