[all-commits] [llvm/llvm-project] 65b7cb: [lit] Export env vars in script to avoid pruning (...
Keith Smiley via All-commits
all-commits at lists.llvm.org
Sat Aug 24 09:20:35 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 65b7cbbd8735b90933369364153b982d498f649a
https://github.com/llvm/llvm-project/commit/65b7cbbd8735b90933369364153b982d498f649a
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-08-24 (Sat, 24 Aug 2024)
Changed paths:
M llvm/utils/lit/lit/TestRunner.py
Log Message:
-----------
[lit] Export env vars in script to avoid pruning (#105759)
On macOS the dynamic loader prunes dyld specific environment variables
such as `DYLD_INSERT_LIBRARIES`, `DYLD_LIBRARY_PATH`, etc. If these are
set in the lit config it's safe to assume that the user actually wanted
their subprocesses to run with these variables, versus the python
interpreter that gets executed with them before they are pruned. This
change exports all known variables in the shell script instead of
relying on them being passed through.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list