libdeflate/1.8-cpeAMD-21.06 (libdeflate-1.8-cpeAMD-21.06.eb)
This software is archived in the LUMI-SoftwareStack GitHub repository as easybuild/easyconfigs/__archive__/l/libdeflate/libdeflate-1.8-cpeAMD-21.06.eb. The corresponding module would be libdeflate/1.8-cpeAMD-21.06.
# Author: Pavel Grochal (INUITS)
# License: GPLv2
easyblock = 'ConfigureMake'
name = 'libdeflate'
version = '1.8'
homepage = 'https://github.com/ebiggers/libdeflate'
whatis = [
'Description: libdeflate is a heavily optimized library for DEFLATE/zlib/gzip compression and decompression.'
]
description = """
libdeflate is a library for fast, whole-buffer DEFLATE-based compression and
decompression.
The supported formats are:
* DEFLATE (raw)
* zlib (a.k.a. DEFLATE with a zlib wrapper)
* gzip (a.k.a. DEFLATE with a gzip wrapper)
libdeflate is heavily optimized. It is significantly faster than the zlib library,
both for compression and decompression, and especially on x86 processors. In
addition, libdeflate provides optional high compression modes that provide a better
compression ratio than the zlib's "level 9".
libdeflate itself is a library, but the following command-line programs which use
this library are also provided:
* gzip (or gunzip), a program which mostly behaves like the standard equivalent, except
that it does not yet have good streaming support and therefore does not yet support
very large files
* benchmark, a program for benchmarking in-memory compression and decompression
"""
toolchain = {'name': 'cpeAMD', 'version': '21.06'}
github_account = 'ebiggers'
sources = {
'download_filename': 'v%(version)s.tar.gz',
'filename': SOURCELOWER_TAR_GZ,
'source_urls': [GITHUB_SOURCE],
}
checksums = ['50711ad4e9d3862f8dfb11b97eb53631a86ee3ce49c0e68ec2b6d059a9662f61']
builddependencies = [ # Create a reproducible build environment.
('buildtools', '%(toolchain_version)s', '', True),
]
skipsteps = ['configure']
installopts = 'PREFIX=%(installdir)s'
sanity_check_paths = {
'files': [
'bin/%(name)s-gunzip', 'bin/%(name)s-gzip',
'lib/%(name)s.a', 'lib/%%(name)s.%s' % SHLIB_EXT,
'include/%(name)s.h',
],
'dirs': [],
}
sanity_check_commands = [
'%(name)s-gzip -h',
'%(name)s-gunzip -h',
]
moduleclass = 'system'