mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 23:42:12 +01:00

new file: h/hwloc/hwloc-1.11.7-GCC-9.1.0-2.32.eb new file: i/icc/icc-2019.4.227-GCC-9.1.0-2.32.eb new file: i/iccifort/iccifort-2019.4.227-GCC-9.1.0-2.32.eb new file: i/ifort/ifort-2019.4.227-GCC-9.1.0-2.32.eb new file: i/impi/impi-2019.3.199-iccifort-2019.4.227-GCC-9.1.0-2.32.eb new file: i/intel/intel-2019.03-GCC-9.1.0-2.32.eb new file: n/numactl/numactl-2.0.11-GCCcore-9.1.0.eb new file: o/OpenMPI/OpenMPI-2.1.5-GCC-9.1.0-2.32.eb new file: s/Singularity/Singularity-3.2.1.eb
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
# IT4Innovations 2019
|
|
|
|
easyblock = 'ConfigureMake'
|
|
|
|
name = 'Singularity'
|
|
version = '3.2.1'
|
|
|
|
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 = {'name': 'dummy', 'version': ''}
|
|
|
|
sources = [{
|
|
'source_urls': ['https://github.com/sylabs/singularity/releases/download/v3.2.1/'],
|
|
'filename': 'singularity-3.2.1.tar.gz',
|
|
'extract_cmd': "mkdir -p src/github.com/sylabs/singularity && tar xfvz %s -C src/github.com/sylabs/singularity --strip-components=1",
|
|
}]
|
|
|
|
builddependencies = [
|
|
('Go', '1.12.7'),
|
|
]
|
|
|
|
dependencies = [
|
|
('squashfs-tools', '4.3'),
|
|
]
|
|
|
|
skipsteps = ['configure']
|
|
|
|
prebuildopts = "export GOPATH=%(builddir)s && "
|
|
prebuildopts += "./mconfig --prefix=%(installdir)s && "
|
|
prebuildopts += "cd ./builddir && "
|
|
preinstallopts = "cd ./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'
|