summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-07-13 01:00:37 +0200
committerGitHub <noreply@github.com>2021-07-12 19:00:37 -0400
commit3228c35df69519632699004dc1e0cafd37d216ac (patch)
treec9fe54ed180de4691bbb2bf674ef16c4e28864ce /etc
parent9fb1c3e1430c5225403a36577a41cb7e168c49ef (diff)
downloadspack-3228c35df69519632699004dc1e0cafd37d216ac.tar.gz
spack-3228c35df69519632699004dc1e0cafd37d216ac.tar.bz2
spack-3228c35df69519632699004dc1e0cafd37d216ac.tar.xz
spack-3228c35df69519632699004dc1e0cafd37d216ac.zip
Enable/disable bootstrapping and customize store location (#23677)
* Permit to enable/disable bootstrapping and customize store location This PR adds configuration handles to allow enabling and disabling bootstrapping, and to customize the store location. * Move bootstrap related configuration into its own YAML file * Add a bootstrap command to manage configuration
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/bootstrap.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/spack/defaults/bootstrap.yaml b/etc/spack/defaults/bootstrap.yaml
new file mode 100644
index 0000000000..78bb43f4b1
--- /dev/null
+++ b/etc/spack/defaults/bootstrap.yaml
@@ -0,0 +1,7 @@
+bootstrap:
+ # If set to false Spack will not bootstrap missing software,
+ # but will instead raise an error.
+ enable: true
+ # Root directory for bootstrapping work. The software bootstrapped
+ # by Spack is installed in a "store" subfolder of this root directory
+ root: ~/.spack/bootstrap