Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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.
- Loading branch information