summaryrefslogtreecommitdiff
path: root/COPYRIGHT
diff options
context:
space:
mode:
authorVanessasaurus <814322+vsoch@users.noreply.github.com>2021-03-12 22:31:26 -0700
committerGitHub <noreply@github.com>2021-03-13 05:31:26 +0000
commit746081e933367ecd08ba9e90b23ae44e4cce8140 (patch)
treec4200316d20f18e4da172865ac82847eb57e1ff2 /COPYRIGHT
parent839af2bd700211f4f38a99f98c099f8f8c4e5a09 (diff)
downloadspack-746081e933367ecd08ba9e90b23ae44e4cce8140.tar.gz
spack-746081e933367ecd08ba9e90b23ae44e4cce8140.tar.bz2
spack-746081e933367ecd08ba9e90b23ae44e4cce8140.tar.xz
spack-746081e933367ecd08ba9e90b23ae44e4cce8140.zip
adding spack -c to set one off config arguments (#22251)
This pull request will add the ability for a user to add a configuration argument on the fly, on the command line, e.g.,: ```bash $ spack -c config:install_tree:root:/path/to/config.yaml -c packages:all:compiler:[gcc] list --help ``` The above command doesn't do anything (I'm just getting help for list) but you can imagine having another root of packages, and updating it on the fly for a command (something I'd like to do in the near future!) I've moved the logic for config_add that used to be in spack/cmd/config.py into spack/config.py proper, and now both the main.py (where spack commands live) and spack/cmd/config.py use these functions. I only needed spack config add, so I didn't move the others. We can move the others if there are also needed in multiple places.
Diffstat (limited to 'COPYRIGHT')
0 files changed, 0 insertions, 0 deletions