easyconfigs-it4i/a/apptainer/apptainer-1.1.5.eb
Lukas Krupcik 1adf366a65 new file: a/apptainer/apptainer-1.1.5.eb
deleted:    t/Tensorflow/TensorFlow-2.9.1-foss-2022a-CUDA-11.7.0.eb
2023-01-16 08:35:51 +01:00

49 lines
1.3 KiB
Plaintext

# IT4Innovations
# LK 2022
# Dokoncit `make install` rucne, nejde bez ROOTa !!!
# /apps/all/apptainer/1.1.5/etc/apptainer/apptainer.conf nv=yes !!!
easyblock = 'ConfigureMake'
name = 'apptainer'
version = '1.1.5'
homepage = 'https://github.com/apptainer/apptainer'
description = "Apptainer is an open source container platform designed to be simple, fast, and secure. Many container platforms are available, but Apptainer is designed for ease-of-use on shared systems and in high performance computing (HPC) environments."
toolchain = SYSTEM
source_urls = ['https://github.com/apptainer/apptainer/releases/download/v%s/' % version]
sources = ['apptainer-%(version)s.tar.gz']
checksums = ['3eadb26b6656a89a111abe29c7e50eab0023e9a8718f1e77e46ca871398bfa67']
builddependencies = [
('Go', '1.17.6'),
]
dependencies = [
('squashfs-tools', '4.3'),
]
osdependencies = [
('openssl-devel', 'libssl-dev', 'libopenssl-devel'),
]
skipsteps = ['configure']
prebuildopts = './mconfig --prefix=%(installdir)s --with-suid && '
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/apptainer'],
'dirs': ['bin', 'etc', 'libexec', 'var'],
}
moduleclass = 'tools'