]> granicus.if.org Git - clang/commitdiff
Build the Apple-style stage2 with modules
authorAdrian Prantl <aprantl@apple.com>
Tue, 9 May 2017 17:27:03 +0000 (17:27 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 9 May 2017 17:27:03 +0000 (17:27 +0000)
Green dragon had a green stage2 modules bot for a long time now[1] and
it is time to retire it and make a modules build the default for
Apple-style stage2 builds.

This patch turns on LLVM_ENABLE_MODULES.

[1] http://green.lab.llvm.org/green/job/clang-stage2-cmake-modulesRDA_build/
rdar://problem/28672159

Differential Revision: https://reviews.llvm.org/D32603

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302556 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/caches/Apple-stage2.cmake

index 11c595c1530f87546e213dd16fefea28f87a3b28..d97e74dba35c58f583b326193eb3c0f4f980f945 100644 (file)
@@ -13,6 +13,7 @@ set(CLANG_LINKS_TO_CREATE clang++ cc c++ CACHE STRING "")
 set(CMAKE_MACOSX_RPATH ON CACHE BOOL "")
 set(LLVM_ENABLE_ZLIB ON CACHE BOOL "")
 set(LLVM_ENABLE_BACKTRACES OFF CACHE BOOL "")
+set(LLVM_ENABLE_MODULES ON CACHE BOOL "")
 set(LLVM_EXTERNALIZE_DEBUGINFO ON CACHE BOOL "")
 set(CLANG_PLUGIN_SUPPORT OFF CACHE BOOL "")
 set(BUG_REPORT_URL "http://developer.apple.com/bugreporter/" CACHE STRING "")