-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cache.cmake
23 lines (21 loc) · 1.02 KB
/
cache.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# This file sets up a CMakeCache for the llvm build for rift
set(LLVM_ENABLE_PROJECTS clang lld CACHE STRING "")
# set(LLVM_ENABLE_RUNTIMES libc CACHE STRING "")
set(LLVM_TARGETS_TO_BUILD X86 ARM AArch64 RISCV CACHE STRING "")
# https://www.llvm.org/docs/CMake.html#llvm-related-variables
set(LLVM_BUILD_TOOLS OFF CACHE BOOL "")
set(LLVM_ENABLE_BINDINGS OFF CACHE BOOL "")
set(LLVM_ENABLE_OCAMLDOC OFF CACHE BOOL "")
set(LLVM_ENABLE_LIBXML2 OFF CACHE BOOL "")
set(LLVM_ENABLE_LLD OFF CACHE BOOL "")
set(LLVM_ENABLE_WARNINGS OFF CACHE BOOL "")
set(LLVM_ENABLE_Z3_SOLVER OFF CACHE BOOL "")
set(LLVM_INCLUDE_BENCHMARKS OFF CACHE BOOL "")
set(LLVM_INCLUDE_DOCS OFF CACHE BOOL "")
set(LLVM_INCLUDE_EXAMPLES OFF CACHE BOOL "")
set(LLVM_INCLUDE_GO_TESTS OFF CACHE BOOL "")
set(LLVM_INCLUDE_TESTS OFF CACHE BOOL "")
set(LLVM_INCLUDE_TOOLS ON CACHE BOOL "")
set(LLVM_INCLUDE_UTILS OFF CACHE BOOL "")
set(CLANG_BUILD_TOOLS OFF CACHE BOOL "")
set(CLANG_BUILD_DOCS OFF CACHE BOOL "")