Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions easybuild/easyconfigs/s/snappy/snappy-1.1.10-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@

easyblock = 'CMakeMake'

name = 'snappy'
version = '1.1.10'

homepage = 'https://github.com/google/snappy'
description = """Snappy is a compression/decompression library. It does not aim
for maximum compression, or compatibility with any other compression library;
instead, it aims for very high speeds and reasonable compression."""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}

source_urls = ['https://github.com/google/snappy/archive/']
sources = ['%(version)s.tar.gz']
patches = [
'%(name)s-1.1.9_use-default-rtti.patch',
]
checksums = [
{'1.1.10.tar.gz': '49d831bffcc5f3d01482340fe5af59852ca2fe76c3e05df0e67203ebbe0f1d90'},
{'snappy-1.1.9_use-default-rtti.patch': 'af56538330b2d781677c7d94576c15fc36e004ae0b4f1ac7d86bbec22b65e73d'},
]

builddependencies = [
('binutils', '2.42'),
('CMake', '3.29.3'),
]

# Disable building tests and benchmarks - we're not using them and they require googletest and benchmark source code
_configopts = '-DSNAPPY_BUILD_TESTS=OFF -DSNAPPY_BUILD_BENCHMARKS=OFF'
configopts = ['%s' % _configopts, '-DBUILD_SHARED_LIBS=ON %s' % _configopts]

sanity_check_paths = {
'files': ['lib64/libsnappy.a', 'lib64/libsnappy.%s' % SHLIB_EXT, 'include/snappy.h'],
'dirs': []
}

moduleclass = 'lib'