| 1 |
@LIT_SITE_CFG_IN_HEADER@ |
| 2 |
|
| 3 |
import sys |
| 4 |
|
| 5 |
config.clang_tools_dir = lit_config.substitute("@CURRENT_TOOLS_DIR@") |
| 6 |
config.perf_helper_dir = "@CMAKE_CURRENT_SOURCE_DIR@" |
| 7 |
config.test_exec_root = "@CMAKE_CURRENT_BINARY_DIR@" |
| 8 |
config.test_source_root = "@CLANG_PGO_TRAINING_DATA@" |
| 9 |
config.target_triple = "@LLVM_TARGET_TRIPLE@" |
| 10 |
config.python_exe = "@Python3_EXECUTABLE@" |
| 11 |
|
| 12 |
# Let the main config do the real work. |
| 13 |
lit_config.load_config(config, "@CLANG_SOURCE_DIR@/utils/perf-training/lit.cfg") |