| @LIT_SITE_CFG_IN_HEADER@ | |
| config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@") | |
| config.mlir_obj_dir = "@MLIR_BINARY_DIR@" | |
| config.enable_bindings_python = @MLIR_ENABLE_BINDINGS_PYTHON@ | |
| config.standalone_obj_root = "@STANDALONE_BINARY_DIR@" | |
| config.llvm_shlib_ext = "@SHLIBEXT@" | |
| import lit.llvm | |
| lit.llvm.initialize(lit_config, config) | |
| # Let the main config do the real work. | |
| lit_config.load_config(config, "@STANDALONE_SOURCE_DIR@/test/lit.cfg.py") |