[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / lit.site.cfg.py.in
blobbb99976005543b63805f3d26f2ccdd4abf72f5b9
1 @LIT_SITE_CFG_IN_HEADER@
3 import lit.util
5 config.have_dia_sdk = lit.util.pythonize_bool("@LLVM_ENABLE_DIA_SDK@")
6 config.llvm_src_root = path(r"@LLVM_SOURCE_DIR@")
7 config.llvm_obj_root = path(r"@LLVM_BINARY_DIR@")
8 config.llvm_tools_dir = lit_config.substitute(path(r"@LLVM_TOOLS_DIR@"))
9 config.llvm_libs_dir = lit_config.substitute(path(r"@LLVM_LIBS_DIR@"))
10 config.llvm_shlib_dir = path(r"@SHLIBDIR@")
11 config.llvm_shlib_ext = "@SHLIBEXT@"
12 config.lit_tools_dir = path(r"@LLVM_LIT_TOOLS_DIR@")
13 config.enable_backtrace = @ENABLE_BACKTRACES@
14 config.errc_messages = "@LLVM_LIT_ERRC_MESSAGES@"
15 config.lld_obj_root = path(r"@LLD_BINARY_DIR@")
16 config.lld_libs_dir = lit_config.substitute(path(r"@CURRENT_LIBS_DIR@"))
17 config.lld_tools_dir = lit_config.substitute(path(r"@CURRENT_TOOLS_DIR@"))
18 config.host_triple = "@LLVM_HOST_TRIPLE@"
19 config.target_triple = "@LLVM_TARGET_TRIPLE@"
20 config.python_executable = "@Python3_EXECUTABLE@"
21 config.have_zlib = @LLVM_ENABLE_ZLIB@
22 config.have_zstd = @LLVM_ENABLE_ZSTD@
23 config.have_libxml2 = @LLVM_ENABLE_LIBXML2@
24 config.sizeof_void_p = @CMAKE_SIZEOF_VOID_P@
25 config.ld_lld_default_mingw = @LLD_DEFAULT_LD_LLD_IS_MINGW@
26 config.build_examples = @LLVM_BUILD_EXAMPLES@
27 config.has_plugins = @LLVM_ENABLE_PLUGINS@
28 config.linked_bye_extension = @LLVM_BYE_LINK_INTO_TOOLS@
30 import lit.llvm
31 lit.llvm.initialize(lit_config, config)
33 # Let the main config do the real work.
34 lit_config.load_config(
35 config, os.path.join(path(r"@LLD_SOURCE_DIR@"), "test/lit.cfg.py"))