[Mlir-commits] [mlir] [mlir][python] allow passing in PYTHONPATH to lit tests (PR #89296)
Stella Laurenzo
llvmlistbot at llvm.org
Thu Apr 18 13:07:58 PDT 2024
https://github.com/stellaraccident commented:
So just thinking through: I often have my environment fouled up with PYTHONPATH for various things. The nice thing about how this is currently is that the tests always run against what was built, not whatever they got from the environment accidentally. I've been on projects where this was not the case, and there ends up being a lot of strange failures reported by people who don't know the machinery well. But on the other side, when you need this control, it is really convenient.
WDYT about getting this from an env var we own, like "MLIR_LIT_PYTHONPATH"?
https://github.com/llvm/llvm-project/pull/89296
More information about the Mlir-commits
mailing list