Skip to content

[libarchive] [package list]

libarchive/3.6.2-cpeAMD-23.09 (libarchive-3.6.2-cpeAMD-23.09.eb)

To access module help and find out for which stacks and partitions the module is installed, use module spider libarchive/3.6.2-cpeAMD-23.09.

EasyConfig:

# Possible further additions:
# * libb2: Likely https://github.com/BLAKE2/libb2
easyblock = 'CMakeMake'

local_bzip2_version =        '1.0.8'         # http://www.bzip.org/downloads.html
local_XZ_version =           '5.4.2'         # https://tukaani.org/xz/
local_zlib_version =         '1.2.13'        # https://zlib.net/
local_lz4_version =          '1.9.4'         # https://github.com/lz4/lz4/releases
local_zstd_version =         '1.5.5'         # https://github.com/facebook/zstd/releases
local_libb2_version =        '0.98.1'        # https://github.com/BLAKE2/libb2/releases
local_libxml2_version =      '2.11.4'        # http://xmlsoft.org/sources/
local_libarchive_version =   '3.6.2'         # https://github.com/libarchive/libarchive/releases

name =    'libarchive'
version = local_libarchive_version

homepage = 'https://www.libarchive.org/'

whatis = [
    "Description: libarchive is a multi-format archive and compression library."
]

description = """
libarchive is a multi-format archive and compression library..
"""

toolchain = {'name': 'cpeAMD', 'version': '23.09'}
toolchainopts = {'pic': True}

source_urls = ['https://www.libarchive.org/downloads/']
sources =     [SOURCE_TAR_GZ]
checksums =   ['ba6d02f15ba04aba9c23fd5f236bb234eab9d5209e95d1c4df85c44d5f19b9b3']

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

dependencies = [
    ('bzip2',   local_bzip2_version),
    ('XZ',      local_XZ_version),
    ('zlib',    local_zlib_version),
    ('lz4',     local_lz4_version),
    ('zstd',    local_zstd_version),
    ('libb2',   local_libb2_version),
    ('libxml2', local_libxml2_version),
]

# 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
preinstallopts = preconfigopts

sanity_check_paths = {
    'files': ['lib/libarchive.a', 'lib/libarchive.%s' % SHLIB_EXT],
    'dirs':  ['bin', 'include', 'lib', 'share'],
}

moduleclass = 'vis'

[libarchive] [package list]