1 @LIT_SITE_CFG_IN_HEADER@
3 # Generic config options for all compiler-rt unit tests.
4 config.target_triple = "@LLVM_TARGET_TRIPLE@"
5 config.llvm_src_root = "@LLVM_MAIN_SRC_DIR@"
6 config.llvm_obj_root = "@LLVM_BINARY_DIR@"
7 config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@")
8 config.compiler_rt_src_root = "@COMPILER_RT_SOURCE_DIR@"
9 config.compiler_rt_libdir = lit_config.substitute("@COMPILER_RT_RESOLVED_LIBRARY_OUTPUT_DIR@")
10 config.enable_per_target_runtime_dir = @LLVM_ENABLE_PER_TARGET_RUNTIME_DIR_PYBOOL@
11 config.llvm_build_mode = lit_config.substitute("@LLVM_BUILD_MODE@")
12 config.host_arch = "@HOST_ARCH@"
13 config.host_os = "@HOST_OS@"
14 config.llvm_lib_dir = "@LLVM_LIBRARY_DIR@"
15 config.gwp_asan = @COMPILER_RT_HAS_GWP_ASAN_PYBOOL@
16 config.emulator = "@COMPILER_RT_EMULATOR@"
18 # Setup attributes common for all compiler-rt unit tests.
19 lit_config.load_config(config, "@COMPILER_RT_SOURCE_DIR@/unittests/lit.common.unit.cfg.py")