libpsl/0.21.1-cpeAMD-23.09 (libpsl-0.21.1-cpeAMD-23.09.eb)
To access module help and find out for which stacks and partitions the module is
installed, use module spider libpsl/0.21.1-cpeAMD-23.09
.
EasyConfig:
easyblock = 'ConfigureMake'
local_libpsl_version = '0.21.1' # https://github.com/rockdaboot/libpsl/releases
name = 'libpsl'
version = local_libpsl_version
homepage = 'https://rockdaboot.github.io/libpsl'
whatis = [
'Description: PSL is a C library to handle the Public Suffix List'
]
description = """"
PSL is a C library to handle the Public Suffix List
A Public Suffix List is a collection of Top Level Domains (TLDs) suffixes. TLDs
include Global Top Level Domains (gTLDs) like .com and .net; Country Top Level
Domains (ccTLDs) like .de and .cn; and Brand Top Level Domains like .apple and
.google. Brand TLDs allows users to register their own top level domain that
exist at the same level as ICANN's gTLDs. Brand TLDs are sometimes referred to
as Vanity Domains.
"""
toolchain = {'name': 'cpeAMD', 'version': '23.09'}
source_urls = ['https://github.com/rockdaboot/%(name)s/releases/download/%(version)s']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['ac6ce1e1fbd4d0254c4ddb9d37f1fa99dec83619c1253328155206b896210d4c']
builddependencies = [ # Create a reproducible build environment.
('buildtools', '%(toolchain_version)s', '', True),
]
# Doesn't need MPI, ROCm or BLAS, and module unload never fails so this is safe.
preconfigopts = 'module unload cray-libsci cray-mpich rocm xpmem && '
prebuildopts = preconfigopts
sanity_check_paths = {
'files': ['lib/libpsl.%s' % x for x in ['a', 'la', SHLIB_EXT]] +
['bin/psl', 'lib/pkgconfig/libpsl.pc'],
'dirs': []
}
sanity_check_commands = [
'psl --version',
'pkg-config --libs libpsl | grep "%(installdir)s/lib"',
]
moduleclass = 'lib'