summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorrobgics <32717310+robgics@users.noreply.github.com>2022-05-18 21:26:42 -0400
committerGitHub <noreply@github.com>2022-05-18 18:26:42 -0700
commit1f6b880fffb161016e81da03fb06e5553bb74c09 (patch)
tree8fcdfeb4431511b139679a1212a5e80c7ccc437d /etc
parent2c211d95ee7257d9ca258fac4f6ccb0f56d63e39 (diff)
downloadspack-1f6b880fffb161016e81da03fb06e5553bb74c09.tar.gz
spack-1f6b880fffb161016e81da03fb06e5553bb74c09.tar.bz2
spack-1f6b880fffb161016e81da03fb06e5553bb74c09.tar.xz
spack-1f6b880fffb161016e81da03fb06e5553bb74c09.zip
Add license dir to config (#30135)
* Change license dir from hard-coded to a configurable item * Change config item to be a string not an array Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/config.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/spack/defaults/config.yaml b/etc/spack/defaults/config.yaml
index d0d3468e8d..d3e7e4ce68 100644
--- a/etc/spack/defaults/config.yaml
+++ b/etc/spack/defaults/config.yaml
@@ -33,6 +33,9 @@ config:
template_dirs:
- $spack/share/spack/templates
+ # Directory where licenses should be located
+ license_dir: $spack/etc/spack/licenses
+
# Temporary locations Spack can try to use for builds.
#
# Recommended options are given below.