From 051c5018aa747eee15a2f646dd5dab4aba93b7f3 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Thu, 9 Mar 2017 01:18:31 +0000 Subject: [PATCH] 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 --- cmake/caches/Apple-stage2-ThinLTO.cmake | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 cmake/caches/Apple-stage2-ThinLTO.cmake 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) -- 2.50.1