• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file sets up a CMakeCache for Apple-style stage2 bootstrap. It is
2# specified by the stage1 build.
3
4set(LLVM_TARGETS_TO_BUILD X86 ARM AArch64 CACHE STRING "")
5set(CLANG_VENDOR Apple CACHE STRING "")
6set(LLVM_INCLUDE_TESTS OFF CACHE BOOL "")
7set(LLVM_INCLUDE_EXAMPLES OFF CACHE BOOL "")
8set(LLVM_INCLUDE_UTILS OFF CACHE BOOL "")
9set(LLVM_INCLUDE_DOCS OFF CACHE BOOL "")
10set(CLANG_INCLUDE_TESTS OFF CACHE BOOL "")
11set(COMPILER_RT_INCLUDE_TESTS OFF CACHE BOOL "")
12set(COMPILER_RT_BUILD_SANITIZERS OFF CACHE BOOL "")
13set(CLANG_LINKS_TO_CREATE clang++ cc c++ CACHE STRING "")
14
15set(CMAKE_C_FLAGS_RELWITHDEBINFO "-Os -flto -gline-tables-only -DNDEBUG" CACHE STRING "")
16set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-Os -flto -gline-tables-only -DNDEBUG" CACHE STRING "")
17set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "")
18set(PACKAGE_VERSION 7.1.0 CACHE STRING "")
19
20set(LIBCXX_INSTALL_LIBRARY OFF CACHE BOOL "")
21set(LIBCXX_INSTALL_HEADERS OFF CACHE BOOL "")
22
23# setup toolchain
24set(LLVM_INSTALL_TOOLCHAIN_ONLY ON CACHE BOOL "")
25set(LLVM_TOOLCHAIN_TOOLS
26  llvm-dsymutil
27  llvm-cov
28  llvm-dwarfdump
29  llvm-profdata
30  CACHE STRING "")
31