diff options
author | Greg Becker <becker33@llnl.gov> | 2020-09-25 11:15:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-25 11:15:49 -0500 |
commit | f616422fd7a7201144934ffaa64483115f60bdd0 (patch) | |
tree | 8d702b4c730971e7f21bbce50768b8d43e485715 /etc | |
parent | 51b90edd78009627a63360eab25786aa5a42afbc (diff) | |
download | spack-f616422fd7a7201144934ffaa64483115f60bdd0.tar.gz spack-f616422fd7a7201144934ffaa64483115f60bdd0.tar.bz2 spack-f616422fd7a7201144934ffaa64483115f60bdd0.tar.xz spack-f616422fd7a7201144934ffaa64483115f60bdd0.zip |
refactor install_tree to use projections format (#18341)
* refactor install_tree to use projections format
* Add update method for config.yaml
* add test for config update config
Diffstat (limited to 'etc')
-rw-r--r-- | etc/spack/defaults/config.yaml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/etc/spack/defaults/config.yaml b/etc/spack/defaults/config.yaml index a5727874ea..aa4ee2bbc6 100644 --- a/etc/spack/defaults/config.yaml +++ b/etc/spack/defaults/config.yaml @@ -16,7 +16,10 @@ config: # This is the path to the root of the Spack install tree. # You can use $spack here to refer to the root of the spack instance. - install_tree: $spack/opt/spack + install_tree: + root: $spack/opt/spack + projections: + all: "${ARCHITECTURE}/${COMPILERNAME}-${COMPILERVER}/${PACKAGE}-${VERSION}-${HASH}" # Locations where templates should be found @@ -24,10 +27,6 @@ config: - $spack/share/spack/templates - # Default directory layout - install_path_scheme: "${ARCHITECTURE}/${COMPILERNAME}-${COMPILERVER}/${PACKAGE}-${VERSION}-${HASH}" - - # Locations where different types of modules should be installed. module_roots: tcl: $spack/share/spack/modules |