| 1 |
@LIT_SITE_CFG_IN_HEADER@ |
| 2 |
|
| 3 |
# Variables needed for common llvm config. |
| 4 |
config.clang_tools_dir = "@CURRENT_TOOLS_DIR@" |
| 5 |
config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@" |
| 6 |
config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@") |
| 7 |
config.llvm_libs_dir = lit_config.substitute("@LLVM_LIBS_DIR@") |
| 8 |
config.target_triple = "@TARGET_TRIPLE@" |
| 9 |
config.python_executable = "@Python3_EXECUTABLE@" |
| 10 |
|
| 11 |
config.clang_pseudo_source_dir = "@CMAKE_CURRENT_SOURCE_DIR@/.." |
| 12 |
config.clang_pseudo_binary_dir = "@CMAKE_CURRENT_BINARY_DIR@/.." |
| 13 |
# Delegate logic to lit.cfg.py. |
| 14 |
lit_config.load_config(config, "@CMAKE_CURRENT_SOURCE_DIR@/lit.cfg.py") |