@LIT_SITE_CFG_IN_HEADER@
# Variables needed for common llvm config.
config.clang_tools_dir = "@CURRENT_TOOLS_DIR@"
config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@")
config.llvm_libs_dir = lit_config.substitute("@LLVM_LIBS_DIR@")
config.target_triple = "@TARGET_TRIPLE@"
config.python_executable = "@Python3_EXECUTABLE@"
config.clang_pseudo_source_dir = "@CMAKE_CURRENT_SOURCE_DIR@/.."
config.clang_pseudo_binary_dir = "@CMAKE_CURRENT_BINARY_DIR@/.."
# Delegate logic to lit.cfg.py.
lit_config.load_config(config, "@CMAKE_CURRENT_SOURCE_DIR@/lit.cfg.py")