Skip to content

[libtirpc] [package list]

libtirpc/1.3.7-cpeAMD-25.09 (libtirpc-1.3.7-cpeAMD-25.09.eb)

To access module help and find out for which stacks and partitions the module is installed, use module spider libtirpc/1.3.7-cpeAMD-25.09.

EasyConfig:

# Adapted by Kurt Lust (kurt.lust@uantwerpen.be) for the LUMI consortium
easyblock = 'ConfigureMake'

local_libtirpc_version =     '1.3.7'         # https://sourceforge.net/projects/libtirpc/files/libtirpc/

name =    'libtirpc'
version = local_libtirpc_version

homepage = 'https://sourceforge.net/projects/libtirpc/'

whatis = [
    'Description: Libtirpc is a port of Suns Transport-Independent RPC library to Linux.'
]

description = """
Libtirpc is a port of Suns Transport-Independent RPC library to Linux. It's
being developed by the Bull GNU/Linux NFSv4 project.
"""

software_license_urls = [
    'https://git.linux-nfs.org/?p=steved/libtirpc.git;a=blob_plain;f=COPYING;hb=e86eef35f3628b3adf388a522ab5731bb4487f34' # For version 1.3.4
]

toolchain = {'name': 'cpeAMD', 'version': '25.09'}

source_urls = [SOURCEFORGE_SOURCE]
sources =     [SOURCE_TAR_BZ2]
checksums =   ['b47d3ac19d3549e54a05d0019a6c400674da716123858cfdb6d3bdd70a66c702']

build_deps = [ # Create a reproducible build environment.
    ('buildtools',   '%(toolchain_version)s',   '', True),
]

# Doesn't need MPI or BLAS, and module unload never fails so this is safe.
pre_configure_opts = 'module unload cray-libsci cray-mpich xpmem && '
pre_install_opts = pre_test_opts = pre_build_opts = pre_configure_opts

pre_configure_opts += 'LDFLAGS="$LDFLAGS -Wl,--noinhibit-exec"'

configure_opts = ' '.join([
    '--enable-static',
    '--enable-shared',
    '--enable-symvers', # need versioned symbols for compatibility with the SUSE variant
    '--disable-gssapi', # Cannot use GSS-API on LUMI and this has to be explicit when using --enable-symvers
])

post_install_cmds = [
    'mkdir -p %(installdir)s/share/licenses/%(name)s',
    'cp AUTHORS ChangeLog COPYING NEWS README THANKS %(installdir)s/share/licenses/%(name)s',   
]

sanity_check_paths = {
    'files': ['lib/libtirpc.%s' % (x,) for x in ['a', SHLIB_EXT]] +
             [ f'share/licenses/{name}/COPYING'],
    'dirs':  ['include/tirpc', 'lib'],
}

sanity_check_cmds = [
   'pkg-config --libs libtirpc',
   '! hostname |& grep -q "no version information"',
]

env_mod_extra_paths = {'CPATH': 'include/tirpc'}

env_mod_category = 'lib'

[libtirpc] [package list]