mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00
50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
# 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 = 'apptainer'
|
|
version = '1.0.2'
|
|
|
|
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 = ['2d7a9d0a76d5574459d249c3415e21423980d9154ce85e8c34b0600782a7dfd3']
|
|
|
|
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/apptainer'],
|
|
'dirs': ['bin', 'etc', 'libexec', 'var'],
|
|
}
|
|
|
|
moduleclass = 'tools'
|