torch-mlir/test/Backend/Iree/lit.local.cfg

9 lines
240 B
INI

from lit.llvm import llvm_config
if config.npcomp_enable_iree:
llvm_config.with_environment('PYTHONPATH', [
os.path.join(config.npcomp_obj_root, "iree", "bindings", "python"),
], append_path=True)
else:
config.unsupported = True