new file: s/Singularity/Singularity-3.8.7.eb

This commit is contained in:
Lukas Krupcik 2022-06-09 12:36:05 +02:00
parent e093db421f
commit 314e38bffc

View File

@ -0,0 +1,48 @@
# IT4Innovations
# LK 2022
# Dokoncit `make install` rucne, nejde bez ROOTa !!!
# /apps/all/Singularity/3.7.0/etc/singularity/singularity.conf nv=yes !!!
# Poslat info na tomas.karasek@vsb.cz o zmene...
easyblock = 'ConfigureMake'
name = 'Singularity'
version = '3.8.7'
homepage = 'https://github.com/sylabs/singularity'
description = "Singularity is an open source container platform designed to be simple, fast, and secure. Singularity is optimized for EPC and HPC workloads, allowing untrusted users to run untrusted containers in a trusted way."
toolchain = SYSTEM
source_urls = ['https://github.com/hpcng/singularity/releases/download/v%s/' % version]
sources = ['singularity-%(version)s.tar.gz']
checksums = ['3329f2e583f84a8343cb2c0380a1d6cbceafae7d1e633b5cbcadf7143eac859b']
builddependencies = [
('Go', '1.17.6'),
]
dependencies = [
('squashfs-tools', '4.3'),
]
osdependencies = [
('openssl-devel', 'libssl-dev', 'libopenssl-devel'),
]
skipsteps = ['configure']
prebuildopts = './mconfig --prefix=%(installdir)s && '
buildopts = '-C ./builddir'
postinstallcmds = [
'echo "mksquashfs path = /apps/all/squashfs-tools/4.3/bin" >> %(installdir)s/etc/singularity/singularity.conf',
]
sanity_check_paths = {
'files': ['bin/singularity'],
'dirs': ['bin', 'etc', 'libexec', 'var'],
}
moduleclass = 'tools'