Alex Denisov | a3f5c4c | 2016-04-16 07:03:45 | [diff] [blame] | 1 | @LIT_SITE_CFG_IN_HEADER@ |
Alexey Samsonov | c05aba7 | 2013-06-06 12:48:20 | [diff] [blame] | 2 | |
| 3 | # Generic config options for all compiler-rt unit tests. |
Petr Hosek | 0c0f6cfb | 2021-12-02 09:04:46 | [diff] [blame] | 4 | config.target_triple = "@LLVM_TARGET_TRIPLE@" |
Alexey Samsonov | a7be03d | 2016-02-01 21:08:16 | [diff] [blame] | 5 | config.llvm_src_root = "@LLVM_MAIN_SRC_DIR@" |
Alexey Samsonov | e3bf521 | 2013-06-06 13:28:37 | [diff] [blame] | 6 | config.llvm_obj_root = "@LLVM_BINARY_DIR@" |
Sam McCall | 75acad4 | 2022-03-15 22:15:56 | [diff] [blame] | 7 | config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@") |
Alexey Samsonov | c05aba7 | 2013-06-06 12:48:20 | [diff] [blame] | 8 | config.compiler_rt_src_root = "@COMPILER_RT_SOURCE_DIR@" |
Sam McCall | 75acad4 | 2022-03-15 22:15:56 | [diff] [blame] | 9 | config.compiler_rt_libdir = lit_config.substitute("@COMPILER_RT_RESOLVED_LIBRARY_OUTPUT_DIR@") |
Collin Baker | 8c66d78 | 2021-10-14 20:47:25 | [diff] [blame] | 10 | config.enable_per_target_runtime_dir = @LLVM_ENABLE_PER_TARGET_RUNTIME_DIR_PYBOOL@ |
Sam McCall | 75acad4 | 2022-03-15 22:15:56 | [diff] [blame] | 11 | config.llvm_build_mode = lit_config.substitute("@LLVM_BUILD_MODE@") |
Alexey Samsonov | fd99206 | 2014-01-31 11:44:32 | [diff] [blame] | 12 | config.host_arch = "@HOST_ARCH@" |
Alexey Samsonov | 071cc9e | 2013-09-08 13:23:29 | [diff] [blame] | 13 | config.host_os = "@HOST_OS@" |
Dean Michael Berris | c84c46f | 2018-09-27 23:15:05 | [diff] [blame] | 14 | config.llvm_lib_dir = "@LLVM_LIBRARY_DIR@" |
Mitch Phillips | ed4618e | 2019-12-13 17:09:34 | [diff] [blame] | 15 | config.gwp_asan = @COMPILER_RT_HAS_GWP_ASAN_PYBOOL@ |
Vitaly Buka | 51b4a7e | 2021-04-22 18:16:21 | [diff] [blame] | 16 | config.emulator = "@COMPILER_RT_EMULATOR@" |
Alexey Samsonov | c05aba7 | 2013-06-06 12:48:20 | [diff] [blame] | 17 | |
Alexey Samsonov | c05aba7 | 2013-06-06 12:48:20 | [diff] [blame] | 18 | # Setup attributes common for all compiler-rt unit tests. |
Reid Kleckner | 8007ff1 | 2019-06-27 20:56:04 | [diff] [blame] | 19 | lit_config.load_config(config, "@COMPILER_RT_SOURCE_DIR@/unittests/lit.common.unit.cfg.py") |