[Mlir-commits] [mlir] [mlir][python] allow passing in PYTHONPATH to lit tests (PR #89296)
Maksim Levental
llvmlistbot at llvm.org
Thu Apr 18 13:55:27 PDT 2024
================
@@ -204,6 +204,7 @@ def add_runtime(name):
# binaries come from the build tree. This should be unified to the build tree
# by copying/linking sources to build.
if config.enable_bindings_python:
+ config.environment["PYTHONPATH"] = os.getenv("PYTHONPATH", "")
----------------
makslevental wrote:
```suggestion
config.environment["PYTHONPATH"] = os.getenv("MLIR_LIT_PYTHONPATH", "")
```
https://github.com/llvm/llvm-project/pull/89296
More information about the Mlir-commits
mailing list