[libc++][doc] Update the release notes for LLVM 18 (#78324)
[llvm-project.git] / clang / cmake / caches / Release.cmake
bloba7b9a8d0e29f88f9ddcb3f94851b7b0f2cf66005
1 # Plain options configure the first build.
2 # BOOTSTRAP_* options configure the second build.
3 # BOOTSTRAP_BOOTSTRAP_* options configure the third build.
5 # General Options
6 set(LLVM_RELEASE_ENABLE_LTO THIN CACHE STRING "")
8 set(CMAKE_BUILD_TYPE RELEASE CACHE STRING "")
10 # Stage 1 Bootstrap Setup
11 set(CLANG_ENABLE_BOOTSTRAP ON CACHE BOOL "")
12 set(CLANG_BOOTSTRAP_TARGETS
13   clang
14   check-all
15   check-llvm
16   check-clang
17   test-suite
18   stage3
19   stage3-clang
20   stage3-check-all
21   stage3-check-llvm
22   stage3-check-clang
23   stage3-install
24   stage3-test-suite CACHE STRING "")
26 # Stage 1 Options
27 set(LLVM_ENABLE_PROJECTS "clang" CACHE STRING "")
28 set(LLVM_TARGETS_TO_BUILD Native CACHE STRING "")
30 # Stage 2 Bootstrap Setup
31 set(BOOTSTRAP_CLANG_ENABLE_BOOTSTRAP ON CACHE STRING "")
32 set(BOOTSTRAP_CLANG_BOOTSTRAP_TARGETS
33   clang
34   check-all
35   check-llvm
36   check-clang CACHE STRING "")
38 # Stage 2 Options
39 set(STAGE2_PROJECTS "clang")
40 if (LLVM_RELEASE_ENABLE_LTO)
41  list(APPEND STAGE2_PROJECTS "lld")
42 endif()
43 set(BOOTSTRAP_LLVM_ENABLE_PROJECTS ${STAGE2_PROJECTS} CACHE STRING "")
44 set(BOOTSTRAP_LLVM_TARGETS_TO_BUILD Native CACHE STRING "")
46 # Stage 3 Options
47 set(BOOTSTRAP_BOOTSTRAP_LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi;libunwind" CACHE STRING "")
48 set(BOOTSTRAP_BOOTSTRAP_LLVM_ENABLE_PROJECTS "clang;lld;lldb;clang-tools-extra;bolt;polly;mlir;flang" CACHE STRING "")
49 set(BOOTSTRAP_BOOTSTRAP_LLVM_ENABLE_LTO ${LLVM_RELEASE_ENABLE_LTO} CACHE STRING "")
50 if (LLVM_RELEASE_ENABLE_LTO)
51   set(BOOTSTRAP_BOOTSTRAP_LLVM_ENABLE_LLD ON CACHE BOOL "")
52 endif()