13 lines
413 B
Python
13 lines
413 B
Python
@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")
|