aboutsummaryrefslogtreecommitdiffstats
path: root/test/lit.site.cfg.py.in
blob: 8f9e557907f1fb817718620c239a466c75b1a2c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
@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 = "@CMAKE_BINARY_DIR@"

import lit.llvm
lit.llvm.initialize(lit_config, config)

# Let the main config do the real work.
lit_config.load_config(config, "@CMAKE_SOURCE_DIR@/test/lit.cfg.py")