From f616422fd7a7201144934ffaa64483115f60bdd0 Mon Sep 17 00:00:00 2001 From: Greg Becker Date: Fri, 25 Sep 2020 11:15:49 -0500 Subject: 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 --- etc/spack/defaults/config.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'etc') 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 -- cgit v1.2.3-70-g09d2