name = 'HDF5'
version = '1.10.6'

homepage = 'https://portal.hdfgroup.org/display/support'
description = """HDF5 is a data model, library, and file format for storing and managing data.
 It supports an unlimited variety of datatypes, and is designed for flexible
 and efficient I/O and for high volume and complex data."""

toolchain = {'name': 'iimpi', 'version': '2020a'}
toolchainopts = {'pic': True, 'usempi': True}

source_urls = ['https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-%(version_major_minor)s/hdf5-%(version)s/src']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['5f9a3ee85db4ea1d3b1fa9159352aebc2af72732fc2f58c96a3f0768dba0e9aa']

configopts = 'CFLAGS="-O2 -march=core-avx2 -fma -ftz -fomit-frame-pointer -fp-speculation=safe -fp-model source -fPIC" FCFLAGS="-O2 -fp-speculation=safe -fp-model source -fPIC -march=core-avx2 -align array64byte -fma -ftz -fomit-frame-pointer" CPPFLAGS="-O2 -march=core-avx2 -fma -ftz -fomit-frame-pointer $CPPFLAGS" '

dependencies = [
    ('zlib', '1.2.11'),
    ('Szip', '2.1.1'),
]

moduleclass = 'data'
