# IT4Innovations
# BS 2023

easyblock = "CMakeMake"

name = "c-blosc"
version = "1.21.0"

homepage = 'https://github.com/Blosc/c-blosc'
description = """Blosc is a high performance compressor optimized for binary 
data. It has been designed to transmit data to the processor cache faster than 
the traditional, non-compressed, direct memory fetch approach via a memcpy() OS
 call. Blosc is the first compressor (that I'm aware of) that is meant not 
only to reduce the size of large datasets on-disk or in-memory, but also to 
accelerate memory-bound computations.
"""

toolchain = {'name': 'GCC', 'version': '10.3.0'}

source_urls = ['https://github.com/Blosc/c-blosc/archive/refs/tags/']
sources = ['v%(version)s.tar.gz']
checksums = ['b0ef4fda82a1d9cbd11e0f4b9685abf14372db51703c595ecd4d76001a8b342d']

builddependencies = [('CMake', '3.20.1')]

separate_build_dir = True

sanity_check_paths = {
    'files': ['include/blosc.h', 'include/blosc-export.h', 'lib/libblosc.a'],
    'dirs': ['include', 'lib']
}

moduleclass = 'tools'
