spack: add tcl/lmod as dependencies(#28355)

This commit is contained in:
Harmen Stoppels 2022-01-19 10:02:04 +01:00 committed by GitHub
parent 97376f4694
commit 3dccb913a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,12 @@ class Spack(Package):
depends_on('mercurial', type='run') depends_on('mercurial', type='run')
depends_on('subversion', type='run') depends_on('subversion', type='run')
# Modules
depends_on('tcl', type='run')
depends_on('lmod', type='run')
# Spack 0.18 uses lmod's depends_on function, which was introduced in v7.5.12
depends_on('lmod@7.5.12:', type='run', when='@0.18:')
# Buildcache # Buildcache
# We just need the 'strings' executable, we don't want to install # We just need the 'strings' executable, we don't want to install
# binutil's linkers. # binutil's linkers.