]> granicus.if.org Git - clang/commitdiff
Add a cmake cache file for a stage-2 build with ThinLTO
authorMehdi Amini <mehdi.amini@apple.com>
Thu, 9 Mar 2017 01:18:31 +0000 (01:18 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Thu, 9 Mar 2017 01:18:31 +0000 (01:18 +0000)
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

cmake/caches/Apple-stage2-ThinLTO.cmake [new file with mode: 0644]

diff --git a/cmake/caches/Apple-stage2-ThinLTO.cmake b/cmake/caches/Apple-stage2-ThinLTO.cmake
new file mode 100644 (file)
index 0000000..54e54e3
--- /dev/null
@@ -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)