From 705e6c377333a2eaa462654d6ecd0403e90ea56b Mon Sep 17 00:00:00 2001 From: Lukas Krupcik Date: Wed, 16 Jun 2021 10:56:37 +0200 Subject: [PATCH] new file: s/Singularity/Singularity-3.8.0.eb --- s/Singularity/Singularity-3.8.0.eb | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 s/Singularity/Singularity-3.8.0.eb diff --git a/s/Singularity/Singularity-3.8.0.eb b/s/Singularity/Singularity-3.8.0.eb new file mode 100644 index 00000000..ee523a02 --- /dev/null +++ b/s/Singularity/Singularity-3.8.0.eb @@ -0,0 +1,46 @@ +# IT4Innovations 2020 +# LK +# 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.0' + +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'] + +builddependencies = [ + ('Go', '1.13.5'), +] + +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'