summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2023-05-02 10:28:27 +0200
committerGitHub <noreply@github.com>2023-05-02 10:28:27 +0200
commita92f1e37aaf1fcdf78f6fe0f225dbd426e063302 (patch)
tree411e15f69ab2d41547c9ff25fb7fa22536513351 /etc
parent99c3ecc1392edb351c27b2e35ed706706ec6bc55 (diff)
downloadspack-a92f1e37aaf1fcdf78f6fe0f225dbd426e063302.tar.gz
spack-a92f1e37aaf1fcdf78f6fe0f225dbd426e063302.tar.bz2
spack-a92f1e37aaf1fcdf78f6fe0f225dbd426e063302.tar.xz
spack-a92f1e37aaf1fcdf78f6fe0f225dbd426e063302.zip
Disable module file generation by default (#37258)
* Disable module generation by default (#35564) a) It's used by site administrators, so it's niche b) If it's used by site administrators, they likely need to modify the config anyhow, so the default config only serves as an example to get started c) it's too arbitrary to enable tcl, but disable lmod * Remove leftover from old module file schema * Warn if module file config is detected and generation is disabled --------- Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/modules.yaml5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/spack/defaults/modules.yaml b/etc/spack/defaults/modules.yaml
index d53e05b2c8..75ec366117 100644
--- a/etc/spack/defaults/modules.yaml
+++ b/etc/spack/defaults/modules.yaml
@@ -40,9 +40,8 @@ modules:
roots:
tcl: $spack/share/spack/modules
lmod: $spack/share/spack/lmod
- # What type of modules to use
- enable:
- - tcl
+ # What type of modules to use ("tcl" and/or "lmod")
+ enable: []
tcl:
all: