diff options
author | Zach van Rijn <me@zv.io> | 2023-11-03 15:19:30 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2023-11-03 15:40:33 +0000 |
commit | e2e72fc2d41235272385e7e4760ca6dbd2173206 (patch) | |
tree | 804ad1779b891be1a70755edd82fa13458426636 /user/spack/default-config-unprivileged.patch | |
parent | 923b43dc23b518654b328d38a74af7394144979c (diff) | |
download | packages-e2e72fc2d41235272385e7e4760ca6dbd2173206.tar.gz packages-e2e72fc2d41235272385e7e4760ca6dbd2173206.tar.bz2 packages-e2e72fc2d41235272385e7e4760ca6dbd2173206.tar.xz packages-e2e72fc2d41235272385e7e4760ca6dbd2173206.zip |
user/spack: relocate default configuration. fixes #1108.
Switching to a file-based (as opposed to patch-based)
configuration will be easier for us to maintain. Note
that '/opt/spack/etc/spack/config.yaml' will override
values in '/etc/spack/config.yaml'.
Also:
* change upstream spack.git provider; fixes spack#8,
which gives users immediate access to our patches
if they wish to set up a separate Spack tree
Diffstat (limited to 'user/spack/default-config-unprivileged.patch')
-rw-r--r-- | user/spack/default-config-unprivileged.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/user/spack/default-config-unprivileged.patch b/user/spack/default-config-unprivileged.patch deleted file mode 100644 index 802f98383..000000000 --- a/user/spack/default-config-unprivileged.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/etc/spack/defaults/config.yaml b/etc/spack/defaults/config.yaml -index b4d81f69da..36ea2b0f23 100644 ---- a/etc/spack/defaults/config.yaml -+++ b/etc/spack/defaults/config.yaml -@@ -17,7 +17,7 @@ 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: -- root: $spack/opt/spack -+ root: $user_cache_path - projections: - all: "{architecture}/{compiler.name}-{compiler.version}/{name}-{version}-{hash}" - # install_tree can include an optional padded length (int or boolean) -@@ -78,7 +78,7 @@ config: - - # Cache directory for already downloaded source tarballs and archived - # repositories. This can be purged with `spack clean --downloads`. -- source_cache: $spack/var/spack/cache -+ source_cache: $user_cache_path/cache - - - ## Directory where spack managed environments are created and stored |