summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorpsakievich <psakiev@sandia.gov>2023-02-21 17:37:14 -0700
committerGitHub <noreply@github.com>2023-02-22 00:37:14 +0000
commitb8d15e816bf7388774e65ca59daf3831b4fa4180 (patch)
treeffaba2817808c25814e7cd00826a142c89984f00 /etc
parent0a233ce83a82e75d6a83568fb36460f5d62eb857 (diff)
downloadspack-b8d15e816bf7388774e65ca59daf3831b4fa4180.tar.gz
spack-b8d15e816bf7388774e65ca59daf3831b4fa4180.tar.bz2
spack-b8d15e816bf7388774e65ca59daf3831b4fa4180.tar.xz
spack-b8d15e816bf7388774e65ca59daf3831b4fa4180.zip
Allow users to specify root env dir (#32836)
* Allow users to specify root env dir Environments managed by spack have some advantages over anonymous Environments but they are tucked away inside spack's directory tree. This PR gives users the ability to specify where the environments should live. See #32823 This is also taken as an opportunity to ensure that all references are to "managed environments", rather than "named environments". Prior to this PR some references to the latter persisted. Co-authored-by: Tom Scogland <scogland1@llnl.gov> Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> Co-authored-by: Gregory Becker <becker33@llnl.gov>
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/config.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/spack/defaults/config.yaml b/etc/spack/defaults/config.yaml
index 06d6a10909..43f8a98dff 100644
--- a/etc/spack/defaults/config.yaml
+++ b/etc/spack/defaults/config.yaml
@@ -81,6 +81,10 @@ config:
source_cache: $spack/var/spack/cache
+ ## Directory where spack managed environments are created and stored
+ # environments_root: $spack/var/spack/environments
+
+
# Cache directory for miscellaneous files, like the package index.
# This can be purged with `spack clean --misc-cache`
misc_cache: $user_cache_path/cache