r267584 - [CMake] Use just-built clang and build iOS support when building stage2

Chris Bieneman via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 26 11:39:20 PDT 2016


Author: cbieneman
Date: Tue Apr 26 13:39:20 2016
New Revision: 267584

URL: http://llvm.org/viewvc/llvm-project?rev=267584&view=rev
Log:
[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.

Modified:
    cfe/trunk/cmake/caches/Apple-stage2.cmake

Modified: cfe/trunk/cmake/caches/Apple-stage2.cmake
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/cmake/caches/Apple-stage2.cmake?rev=267584&r1=267583&r2=267584&view=diff
==============================================================================
--- cfe/trunk/cmake/caches/Apple-stage2.cmake (original)
+++ cfe/trunk/cmake/caches/Apple-stage2.cmake Tue Apr 26 13:39:20 2016
@@ -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




More information about the cfe-commits mailing list