brintos

brintos / llvm-project-archived public Read only

0
0
Text · 830 B · fb94797 Raw
21 lines · plain
1@LIT_SITE_CFG_IN_HEADER@2 3config.llvm_src_root = "@LLVM_SOURCE_DIR@"4config.llvm_obj_root = "@LLVM_BINARY_DIR@"5config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@")6config.llvm_libs_dir = lit_config.substitute("@LLVM_LIBS_DIR@")7config.llvm_build_mode = lit_config.substitute("@LLVM_BUILD_MODE@")8config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"9config.lldb_obj_root = "@LLDB_BINARY_DIR@"10config.lldb_src_root = "@LLDB_SOURCE_DIR@"11config.target_triple = "@LLVM_TARGET_TRIPLE@"12config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"13config.python_executable = "@Python3_EXECUTABLE@"14config.python_root_dir = "@Python3_ROOT_DIR@"15 16import lit.llvm17lit.llvm.initialize(lit_config, config)18 19# Let the main config do the real work.20lit_config.load_config(config, os.path.join(config.lldb_src_root, "test", "Unit", "lit.cfg.py"))21