summaryrefslogtreecommitdiff
path: root/NOTICE
diff options
context:
space:
mode:
authorbecker33 <becker33@llnl.gov>2018-09-05 17:28:39 -0700
committerscheibelp <scheibel1@llnl.gov>2018-09-05 17:28:39 -0700
commitf6fff8f3431144b4cccf8ab644cac711d9840650 (patch)
treebe47c9dcb0fd96ffa8fa585969e76cc46a7ef159 /NOTICE
parenta779e8744240c219e78ee5e8c468b68616451396 (diff)
downloadspack-f6fff8f3431144b4cccf8ab644cac711d9840650.tar.gz
spack-f6fff8f3431144b4cccf8ab644cac711d9840650.tar.bz2
spack-f6fff8f3431144b4cccf8ab644cac711d9840650.tar.xz
spack-f6fff8f3431144b4cccf8ab644cac711d9840650.zip
Spack environment updates take precedence (#9107)
Spack originally handled environment modifications in the following order: 1. clear environment variables (unless Spack was invoked with --dirty) 2. apply spack-specific environment variable updates, including variables set by Spack core like CC/PKG_CONFIG_PATH and those set by installed dependencies (e.g. in setup_dependent_environment) 3. load all external/compiler modules 1 and 2 were done together. This splits 1 into its own function and imposes the following order for environment modifications: 1. clear environment variables 2. load all external/compiler modules 3. apply spack-specific environment variable updates As a result, prepend-path actions taken by Spack (or installed Spack dependencies) take precedence over prepend-path actions from compiler and external modules. Additionally, when Spack (or a package dependency) sets/unsets an environment variable, that will override the actions of external/compiler modules.
Diffstat (limited to 'NOTICE')
0 files changed, 0 insertions, 0 deletions