1 @LIT_SITE_CFG_IN_HEADER@
5 config
.llvm_tools_dir
= lit_config
.substitute("@LLVM_TOOLS_DIR@")
6 config
.llvm_shlib_dir
= lit_config
.substitute(path(r
"@SHLIBDIR@"))
7 config
.llvm_plugin_ext
= "@LLVM_PLUGIN_EXT@"
8 config
.target_triple
= "@LLVM_TARGET_TRIPLE@"
9 config
.llvm_target_triple_env
= "@LLVM_TARGET_TRIPLE_ENV@"
10 config
.lit_tools_dir
= "@LLVM_LIT_TOOLS_DIR@"
11 config
.errc_messages
= "@LLVM_LIT_ERRC_MESSAGES@"
12 config
.flang_obj_root
= "@FLANG_BINARY_DIR@"
13 config
.flang_src_dir
= "@FLANG_SOURCE_DIR@"
14 config
.flang_tools_dir
= lit_config
.substitute("@FLANG_TOOLS_DIR@")
15 config
.flang_intrinsic_modules_dir
= "@FLANG_INTRINSIC_MODULES_DIR@"
16 config
.flang_llvm_tools_dir
= "@CMAKE_BINARY_DIR@/bin"
17 config
.flang_lib_dir
= "@CMAKE_BINARY_DIR@/lib"
18 config
.flang_test_triple
= "@FLANG_TEST_TARGET_TRIPLE@"
19 config
.flang_examples
= @FLANG_BUILD_EXAMPLES@
20 config
.python_executable
= "@PYTHON_EXECUTABLE@"
21 config
.flang_standalone_build
= @FLANG_STANDALONE_BUILD@
22 config
.has_plugins
= @LLVM_ENABLE_PLUGINS@
23 config
.linked_bye_extension
= @LLVM_BYE_LINK_INTO_TOOLS@
24 config
.cc
= "@CMAKE_C_COMPILER@"
25 config
.targets_to_build
= "@TARGETS_TO_BUILD@"
28 lit
.llvm
.initialize(lit_config
, config
)
30 # Let the main config do the real work.
31 lit_config
.load_config(config
, "@FLANG_SOURCE_DIR@/test/lit.cfg.py")