18 lines · plain
1@LIT_SITE_CFG_IN_HEADER@2 3import sys4 5config.llvm_src_root = "@LLVM_SOURCE_DIR@"6config.llvm_obj_root = "@LLVM_BINARY_DIR@"7config.llvm_build_mode = lit_config.substitute("@LLVM_BUILD_MODE@")8config.orc_rt_obj_root = "@ORC_RT_BINARY_DIR@"9config.host_triple = "@LLVM_HOST_TRIPLE@"10config.target_triple = "@LLVM_TARGET_TRIPLE@"11config.llvm_tools_dir = "@ORC_RT_LLVM_TOOLS_DIR@"12 13 14import lit.llvm15lit.llvm.initialize(lit_config, config)16# Let the main config do the real work.17lit_config.load_config(config, "@ORC_RT_SOURCE_DIR@/test/unit/lit.cfg.py")18