diff options
author | psakievich <psakiev@sandia.gov> | 2023-02-21 17:37:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 00:37:14 +0000 |
commit | b8d15e816bf7388774e65ca59daf3831b4fa4180 (patch) | |
tree | ffaba2817808c25814e7cd00826a142c89984f00 /bin/spack-tmpconfig | |
parent | 0a233ce83a82e75d6a83568fb36460f5d62eb857 (diff) | |
download | spack-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 'bin/spack-tmpconfig')
-rwxr-xr-x | bin/spack-tmpconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/spack-tmpconfig b/bin/spack-tmpconfig index a3d053d340..a477daa4d3 100755 --- a/bin/spack-tmpconfig +++ b/bin/spack-tmpconfig @@ -72,6 +72,7 @@ config: root: $TMP_DIR/install misc_cache: $$user_cache_path/cache source_cache: $$user_cache_path/source + environments_root: $TMP_DIR/envs EOF cat >"$SPACK_USER_CONFIG_PATH/bootstrap.yaml" <<EOF bootstrap: |