[compiler-rt] r261377 - [CMake] Adding a CMake cache file that matches Apple's build configs

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 19 14:59:19 PST 2016


Author: cbieneman
Date: Fri Feb 19 16:59:18 2016
New Revision: 261377

URL: http://llvm.org/viewvc/llvm-project?rev=261377&view=rev
Log:
[CMake] Adding a CMake cache file that matches Apple's build configs

This should have no impact on anyone, but we're going to use it from GreenDragon to make our builders match what we ship.

Added:
    compiler-rt/trunk/cmake/caches/
    compiler-rt/trunk/cmake/caches/Apple.cmake

Added: compiler-rt/trunk/cmake/caches/Apple.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/caches/Apple.cmake?rev=261377&view=auto
==============================================================================
--- compiler-rt/trunk/cmake/caches/Apple.cmake (added)
+++ compiler-rt/trunk/cmake/caches/Apple.cmake Fri Feb 19 16:59:18 2016
@@ -0,0 +1,12 @@
+# This file sets up a CMakeCache for Apple-style builds of compiler-rt.
+# This configuration matches Apple uses when shipping Xcode releases.
+
+set(COMPILER_RT_INCLUDE_TESTS OFF CACHE BOOL "")
+set(COMPILER_RT_HAS_SAFESTACK OFF CACHE BOOL "")
+set(COMPILER_RT_EXTERNALIZE_DEBUGINFO ON CACHE BOOL "")
+set(CMAKE_MACOSX_RPATH ON CACHE BOOL "")
+
+set(CMAKE_C_FLAGS_RELEASE "-O3 -gline-tables-only" CACHE STRING "")
+set(CMAKE_CXX_FLAGS_RELEASE "-O3 -gline-tables-only" CACHE STRING "")
+set(CMAKE_ASM_FLAGS_RELEASE "-O3 -gline-tables-only" CACHE STRING "")
+set(CMAKE_BUILD_TYPE RELEASE CACHE STRING "")




More information about the llvm-commits mailing list