Skip to content

[zstd] [package list]

zstd/1.5.0-cpeAOCC-21.12 (zstd-1.5.0-cpeAOCC-21.12.eb)

This software is archived in the LUMI-SoftwareStack GitHub repository as easybuild/easyconfigs/__archive__/z/zstd/zstd-1.5.0-cpeAOCC-21.12.eb. The corresponding module would be zstd/1.5.0-cpeAOCC-21.12.

# Contributed by Kurt Lust, LUMI project & UAntwerpen
easyblock = 'ConfigureMake'

local_XZ_version =       '5.2.5'  # https://tukaani.org/xz/
local_zlib_version =     '1.2.11' # https://zlib.net/
local_lz4_version =      '1.9.3'  # https://github.com/lz4/lz4/releases
local_gzip_version =     '1.10'   # https://ftp.gnu.org/gnu/gzip/
local_zstd_version =     '1.5.0'  # https://github.com/facebook/zstd/releases

name =    'zstd'
version = local_zstd_version

homepage = 'https://facebook.github.io/zstd'

whatis = [
    "Descriptions: zstd provides Zstandard, a real-time compression algorithm providing high compression ratios.",
]

description = """
Zstandard is a real-time compression algorithm, providing high compression
ratios. It offers a very wide range of compression/speed trade-off, while
being backed by a very fast decoder. It also offers a special mode for
small data, called dictionary compression, and can create dictionaries
from any sample set.
"""

toolchain = {'name': 'cpeAOCC', 'version': '21.12'}
toolchainopts = {'pic': True}

sources =   [ {
                # https://github.com/facebook/zstd/releases/download/v1.5.0/zstd-1.5.0.tar.gz
                # https://github.com/facebook/zstd/archive/refs/tags/v1.5.0.tar.gz
                'download_filename': 'v%(version)s.tar.gz',
                'filename':          SOURCELOWER_TAR_GZ,
                'source_urls':       ['https://github.com/facebook/zstd/archive/']
              } ]
source_urls = []
checksums =   ['0d9ade222c64e912d6957b11c923e214e2e010a18f39bec102f572e693ba2867']

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

dependencies = [
    ('zlib', local_zlib_version),
    ('gzip', local_gzip_version),
    ('XZ',   local_XZ_version),
    ('lz4',  local_lz4_version),
]

skipsteps = ['configure']

runtest = 'check'

installopts = "PREFIX=%(installdir)s"

sanity_check_paths = {
    'files': ["bin/zstd", "lib/libzstd.%s" % SHLIB_EXT, "include/zstd.h"],
    'dirs':  ["lib/pkgconfig"]
}

moduleclass = 'lib'

[zstd] [package list]