Skip to content

[zstd] [package list]

zstd/1.5.2-cpeCray-22.08 (zstd-1.5.2-cpeCray-22.08.eb)

To access module help and find out for which stacks and partitions the module is installed, use module spider zstd/1.5.2-cpeCray-22.08.

EasyConfig:

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

local_XZ_version =       '5.2.5'  # https://tukaani.org/xz/
local_zlib_version =     '1.2.12' # https://zlib.net/
local_lz4_version =      '1.9.3'  # https://github.com/lz4/lz4/releases
local_gzip_version =     '1.12'   # https://ftp.gnu.org/gnu/gzip/
local_zstd_version =     '1.5.2'  # 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': 'cpeCray', 'version': '22.08'}
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/']
              } ]
checksums =   ['f7de13462f7a82c29ab865820149e778cbfe01087b3a55b5332707abf9db4a6e']

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"]
}

sanity_check_commands = [ 
    'zstd --version',
]

moduleclass = 'lib'

[zstd] [package list]