mirror of https://github.com/llvm/torch-mlir
9 lines
240 B
INI
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
|