We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21338de commit dabeb6aCopy full SHA for dabeb6a
lit.cfg.py
@@ -46,7 +46,10 @@ def find_filecheck() -> str:
46
python = os.environ.get("PYTHON", "python")
47
config.substitutions.append(("%PYTHON", python))
48
if pythonpath := os.environ.get("PYTHONPATH"):
49
- config.substitutions[-1] = ("%PYTHON", f"env PYTHONPATH={shlex.quote(pythonpath)} {python}")
+ config.substitutions[-1] = (
50
+ "%PYTHON",
51
+ f"env PYTHONPATH={shlex.quote(pythonpath)} {python}",
52
+ )
53
54
for pkg in ["torch", "mpi4py", "mpich", "impi-rt"]:
55
if importlib.util.find_spec(pkg):
0 commit comments