1 # This file sets up a CMakeCache for the second stage of a simple distribution
4 set(LLVM_ENABLE_PROJECTS "clang;clang-tools-extra;lld" CACHE STRING "")
5 set(LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi" CACHE STRING "")
7 set(LLVM_TARGETS_TO_BUILD X86;ARM;AArch64 CACHE STRING "")
9 set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "")
10 set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 -gline-tables-only -DNDEBUG" CACHE STRING "")
11 set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -gline-tables-only -DNDEBUG" CACHE STRING "")
14 set(LLVM_INSTALL_TOOLCHAIN_ONLY ON CACHE BOOL "")
15 set(LLVM_TOOLCHAIN_TOOLS
25 set(LLVM_DISTRIBUTION_COMPONENTS
29 clang-resource-headers
32 ${LLVM_TOOLCHAIN_TOOLS}