[clang][dataflow][NFC] Fix stale comments. (#71654)
[llvm-project.git] / bolt / test / lit.site.cfg.py.in
blob46cb326dfbae18b43edbabb438bb2db7aacebb44
1 @LIT_SITE_CFG_IN_HEADER@
3 import sys
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@"
23 import lit.llvm
24 lit.llvm.initialize(lit_config, config)
26 # Let the main config do the real work.
27 lit_config.load_config(config, "@BOLT_SOURCE_DIR@/test/lit.cfg.py")