From 35c913dd4cd51ca0cb816e1ec60d16bc205b74fb Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Tue, 26 Apr 2016 18:39:20 +0000 Subject: [PATCH] [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 --- clang/cmake/caches/Apple-stage2.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clang/cmake/caches/Apple-stage2.cmake b/clang/cmake/caches/Apple-stage2.cmake index 55481db..305d93a 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 -- 2.7.4