HDF5-1.14.5-iimpi-2024a.eb 1016 B

1234567891011121314151617181920212223242526
  1. name = 'HDF5'
  2. # Note: Odd minor releases are only RCs and should not be used.
  3. version = '1.14.5'
  4. homepage = 'https://portal.hdfgroup.org/display/support'
  5. description = """HDF5 is a data model, library, and file format for storing and managing data.
  6. It supports an unlimited variety of datatypes, and is designed for flexible
  7. and efficient I/O and for high volume and complex data."""
  8. toolchain = {'name': 'iimpi', 'version': '2024a'}
  9. toolchainopts = {'pic': True, 'usempi': True, 'optarch': 'mavx2'}
  10. source_urls = ['https://github.com/HDFGroup/hdf5/archive']
  11. sources = ['hdf5_%(version)s.tar.gz']
  12. checksums = ['c83996dc79080a34e7b5244a1d5ea076abfd642ec12d7c25388e2fdd81d26350']
  13. # replace src include path with installation dir for $H5BLD_CPPFLAGS
  14. _regex = 's, -I[^[:space:]]+H5FDsubfiling , -I%(installdir)s/include ,g'
  15. postinstallcmds = ['sed -i -r "%s" %%(installdir)s/bin/%s' % (_regex, x) for x in ['h5c++', 'h5pcc']]
  16. dependencies = [
  17. ('zlib', '1.3.1'),
  18. ('Szip', '2.1.1'),
  19. ]
  20. moduleclass = 'data'