From: Mehdi Amini Date: Thu, 9 Mar 2017 01:18:31 +0000 (+0000) Subject: Add a cmake cache file for a stage-2 build with ThinLTO X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=051c5018aa747eee15a2f646dd5dab4aba93b7f3;p=clang 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 --- 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)