summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2018-06-05 20:26:30 +0200
committerscheibelp <scheibel1@llnl.gov>2018-06-05 11:26:30 -0700
commitdf1e23335c010b5cc40469853dab6f46edcd57b9 (patch)
treefe6738042bf83d412d39beaec8201b591263ff77 /.gitignore
parenta226559347957d54b67ed49e4a937f205ab3efec (diff)
downloadspack-df1e23335c010b5cc40469853dab6f46edcd57b9.tar.gz
spack-df1e23335c010b5cc40469853dab6f46edcd57b9.tar.bz2
spack-df1e23335c010b5cc40469853dab6f46edcd57b9.tar.xz
spack-df1e23335c010b5cc40469853dab6f46edcd57b9.zip
Preserve Spack CC/FC/F77/CXX settings when loading modules (#8346)
Fixes #8345 Spack environment modifications are applied before modules are loaded; this includes settings to CC, FC, F77, and CXX, which point to the Spack compiler wrappers. If the loaded modules set CC, this overrides the Spack compiler wrappers. This PR adds a context manager to preserve the values of CC etc. that are set by Spack: any effects on the CC, FC, F77, and CXX variables from modules are undone and their original values are restored.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions