summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2017-03-09 01:18:31 +0000
committerMehdi Amini <mehdi.amini@apple.com>2017-03-09 01:18:31 +0000
commit051c5018aa747eee15a2f646dd5dab4aba93b7f3 (patch)
tree8c7e7794c9528c484392dd090aa5d98d3e6710f1 /cmake
parent4222836303a1b25cac081dc7a0938104982e5c1e (diff)
Add a cmake cache file for a stage-2 build with ThinLTO
This is intended to be targetted by a Green Dragon stage-2 bot I'm bringing up currently. WIP. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@297351 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/caches/Apple-stage2-ThinLTO.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/caches/Apple-stage2-ThinLTO.cmake b/cmake/caches/Apple-stage2-ThinLTO.cmake
new file mode 100644
index 0000000000..54e54e306e
--- /dev/null
+++ b/cmake/caches/Apple-stage2-ThinLTO.cmake
@@ -0,0 +1,6 @@
+# This file sets up a CMakeCache for Apple-style stage2 ThinLTO bootstrap. It is
+# specified by the stage1 build.
+
+
+set(LLVM_ENABLE_LTO THIN CACHE BOOL "")
+include(${CMAKE_CURRENT_LIST_DIR}/Apple-stage2.cmake)