diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2023-11-06 23:30:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-06 14:30:27 -0800 |
commit | 461eb944bdff103b8e347c272afb2bcbd31f9723 (patch) | |
tree | 8e54a9d7a3601b205e0784eeb44ac56899b02d49 /.github/workflows/style | |
parent | 4700108b5b91c3182c96c4b8468ecf3b536dfd0a (diff) | |
download | spack-461eb944bdff103b8e347c272afb2bcbd31f9723.tar.gz spack-461eb944bdff103b8e347c272afb2bcbd31f9723.tar.bz2 spack-461eb944bdff103b8e347c272afb2bcbd31f9723.tar.xz spack-461eb944bdff103b8e347c272afb2bcbd31f9723.zip |
Don't let runtime env variables of compiler like deps leak into the build environment (#40916)
* Test that setup_run_environment changes to CC/CXX/FC/F77 are dropped in build env
* compilers set in run env shouldn't impact build
Adds `drop` to EnvironmentModifications courtesy of @haampie, and uses
it to clear modifications of CC, CXX, F77 and FC made by
`setup_{,dependent_}run_environment` routines when producing an
environment in BUILD context.
* comment / style
* comment
---------
Co-authored-by: Tom Scogland <scogland1@llnl.gov>
Diffstat (limited to '.github/workflows/style')
0 files changed, 0 insertions, 0 deletions