summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMario Melara <maamelara@gmail.com>2018-03-23 12:05:07 -0700
committerbecker33 <becker33@llnl.gov>2018-03-23 12:05:07 -0700
commit2970a50ef6bd8349e8d6f6b722431f38fb9902c3 (patch)
treea646f215b39b0221df85e4e69af97fe3fb03cbd2 /etc
parent1391f0db44c8932ed0a1c416304aa40ad3960848 (diff)
downloadspack-2970a50ef6bd8349e8d6f6b722431f38fb9902c3.tar.gz
spack-2970a50ef6bd8349e8d6f6b722431f38fb9902c3.tar.bz2
spack-2970a50ef6bd8349e8d6f6b722431f38fb9902c3.tar.xz
spack-2970a50ef6bd8349e8d6f6b722431f38fb9902c3.zip
Add the ability to separate architecture in path scheme (#4329)
* Add format to separate target and os for path spec format can now handle separations of target and os for setting up the path. * Added ${PLATFORM} et al to spec.format() ${PLATFORM}, ${OS}, ${TARGET} * Update tests Updated tests and got rid of unnecessary code. * Also update documentation to reflect this new ability. * Add default path scheme to config.yaml Added default path scheme to config.yaml. Users can overwrite this section if they want.
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/config.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/spack/defaults/config.yaml b/etc/spack/defaults/config.yaml
index b6a09a7738..c7dfeb58b3 100644
--- a/etc/spack/defaults/config.yaml
+++ b/etc/spack/defaults/config.yaml
@@ -22,6 +22,9 @@ config:
template_dirs:
- $spack/templates
+ # default directory layout
+ directory_layout: "${ARCHITECTURE}/${COMPILERNAME}-${COMPILERVER}/${PACKAGE}-${VERSION}-${HASH}"
+
# Locations where different types of modules should be installed.
module_roots:
tcl: $spack/share/spack/modules