From e2e72fc2d41235272385e7e4760ca6dbd2173206 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Fri, 3 Nov 2023 15:19:30 +0000 Subject: 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 --- user/spack/config.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 user/spack/config.yaml (limited to 'user/spack/config.yaml') diff --git a/user/spack/config.yaml b/user/spack/config.yaml new file mode 100644 index 000000000..c7ffefb41 --- /dev/null +++ b/user/spack/config.yaml @@ -0,0 +1,22 @@ +# ------------------------------------------------------------------------- +# This is the Adélie spack configuration file. +# +# Settings here are versioned with Adélie and are intended to provide +# sensible defaults out of the box. Adélie maintainers should edit this +# file to keep it current. +# +# Users can override these settings by editing the following files. +# +# Per-spack-instance settings (overrides defaults): +# /opt/spack/etc/spack/config.yaml +# +# Per-user settings (overrides default and site settings): +# ~/.spack/config.yaml +# ------------------------------------------------------------------------- + +config: + + install_tree: + root: $user_cache_path + + source_cache: $user_cache_path/cache -- cgit v1.2.3-60-g2f50