Author: adrian Date: Wed May 10 17:14:23 2017 New Revision: 302740 URL: http://llvm.org/viewvc/llvm-project?rev=302740&view=rev Log: Partially revert r302685 and swith Apple-style full LTO builds to -gline-tables-only. The memory consumption is apparently still too much for some of the green dragon builders.
<rdar://problem/28672159> Modified: cfe/trunk/cmake/caches/Apple-stage2.cmake Modified: cfe/trunk/cmake/caches/Apple-stage2.cmake URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/cmake/caches/Apple-stage2.cmake?rev=302740&r1=302739&r2=302740&view=diff ============================================================================== --- cfe/trunk/cmake/caches/Apple-stage2.cmake (original) +++ cfe/trunk/cmake/caches/Apple-stage2.cmake Wed May 10 17:14:23 2017 @@ -29,6 +29,10 @@ set(LLVM_BUILD_TESTS ON CACHE BOOL "") set(LLVM_ENABLE_LTO ON CACHE BOOL "") set(CMAKE_C_FLAGS "-fno-stack-protector -fno-common -Wno-profile-instr-unprofiled" CACHE STRING "") set(CMAKE_CXX_FLAGS "-fno-stack-protector -fno-common -Wno-profile-instr-unprofiled" CACHE STRING "") +if(LLVM_ENABLE_LTO AND NOT LLVM_ENABLE_LTO STREQUAL "THIN") + set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -gline-tables-only -DNDEBUG" CACHE STRING "") + set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -gline-tables-only -DNDEBUG" CACHE STRING "") +endif() set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "") set(LIBCXX_INSTALL_LIBRARY OFF CACHE BOOL "") _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits