summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/config.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/spack/defaults/config.yaml b/etc/spack/defaults/config.yaml
index b5e517c98d..ef9d288173 100644
--- a/etc/spack/defaults/config.yaml
+++ b/etc/spack/defaults/config.yaml
@@ -18,13 +18,16 @@ config:
# You can use $spack here to refer to the root of the spack instance.
install_tree: $spack/opt/spack
+
# Locations where templates should be found
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
@@ -74,6 +77,15 @@ config:
dirty: false
+ # When set to true, concurrent instances of Spack will use locks to
+ # avoid modifying the install tree, database file, etc. If false, Spack
+ # will disable all locking, but you must NOT run concurrent instances
+ # of Spack. For filesystems that don't support locking, you should set
+ # this to false and run one Spack at a time, but otherwise we recommend
+ # enabling locks.
+ locks: true
+
+
# The default number of jobs to use when running `make` in parallel.
# If set to 4, for example, `spack install` will run `make -j4`.
# If not set, all available cores are used by default.