1 @LIT_SITE_CFG_IN_HEADER@
5 config
.llvm_src_root
= "@LLVM_SOURCE_DIR@"
6 config
.llvm_obj_root
= "@LLVM_BINARY_DIR@"
7 config
.bolt_obj_root
= "@BOLT_BINARY_DIR@"
8 config
.bolt_enable_runtime
= @BOLT_ENABLE_RUNTIME@
9 config
.llvm_tools_dir
= lit_config
.substitute("@LLVM_TOOLS_DIR@")
10 config
.llvm_libs_dir
= lit_config
.substitute("@LLVM_LIBS_DIR@")
11 config
.llvm_shlib_dir
= lit_config
.substitute("@SHLIBDIR@")
12 config
.lit_tools_dir
= "@LLVM_LIT_TOOLS_DIR@"
13 config
.host_triple
= "@LLVM_HOST_TRIPLE@"
14 config
.target_triple
= "@LLVM_TARGET_TRIPLE@"
15 config
.llvm_use_sanitizer
= "@LLVM_USE_SANITIZER@"
16 config
.host_arch
= "@HOST_ARCH@"
17 config
.python_executable
= "@Python3_EXECUTABLE@"
18 config
.bolt_clang
= "@BOLT_CLANG_EXE@"
19 config
.bolt_lld
= "@BOLT_LLD_EXE@"
20 config
.targets_to_build
= "@BOLT_TARGETS_TO_BUILD@"
21 config
.gnu_ld
= "@GNU_LD_EXECUTABLE@"
22 config
.libbolt_rt_instr
= "@LIBBOLT_RT_INSTR@"
23 config
.libbolt_rt_hugify
= "@LIBBOLT_RT_HUGIFY@"
26 lit
.llvm
.initialize(lit_config
, config
)
28 # Let the main config do the real work.
29 lit_config
.load_config(config
, "@BOLT_SOURCE_DIR@/test/lit.cfg.py")