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