diff options
author | Robert Blake <blake14@llnl.gov> | 2020-09-05 01:12:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-05 01:12:26 -0700 |
commit | ea5717171259fc3ab27d3c681cc2ef29ba560c6e (patch) | |
tree | 6d014be24383851dc6e3793c8c99bcda869af6bb /bin/sbang | |
parent | 704fc475e3b303464a8f30b09f305e9a41732d39 (diff) | |
download | spack-ea5717171259fc3ab27d3c681cc2ef29ba560c6e.tar.gz spack-ea5717171259fc3ab27d3c681cc2ef29ba560c6e.tar.bz2 spack-ea5717171259fc3ab27d3c681cc2ef29ba560c6e.tar.xz spack-ea5717171259fc3ab27d3c681cc2ef29ba560c6e.zip |
Make spack environment configurations writable from spack external and spack compiler find (#18165)
* spack config: default modification scope can be an environment
The previous model was that environments are the highest priority config
scope for config reading operations, but were not considered for config
writing operations. Now, the active environment is the highest priority
config scope for both reading and writing operations.
Now spack config add, spack external find and spack compiler set environment
configuration in the environment by default if an environment is active. This is a
change in default behavior for these routines, but better matches the mental
model for an environment taking precedence over the user's default config file.
* add scope argument to 'spack external find' to choose non-default scope
* Increase testing for config modifications on environments
Co-authored-by: Gregory Becker <becker33@llnl.gov>
Diffstat (limited to 'bin/sbang')
0 files changed, 0 insertions, 0 deletions