Re-land [LLD] Allow usage of LLD as a library
[llvm-project.git] / lld / test / Unit / lit.site.cfg.py.in
blob204ac5f204d7b6a7dd6ba9952f1f4b5126a0ee81
1 @LIT_SITE_CFG_IN_HEADER@
3 import sys
5 config.llvm_build_mode = lit_config.substitute("@LLVM_BUILD_MODE@")
6 config.shlibdir = lit_config.substitute(path(r"@SHLIBDIR@"))
7 config.lld_obj_root = path(r"@LLD_BINARY_DIR@")
8 config.lld_src_dir = path(r"@LLD_SOURCE_DIR@")
10 # Let the main config do the real work.
11 lit_config.load_config(
12 config, os.path.join(config.lld_src_dir, "test/Unit/lit.cfg.py"))