netCDF-4.7.4-gompi-2020b.eb 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. name = 'netCDF'
  2. version = '4.7.4'
  3. homepage = 'https://www.unidata.ucar.edu/software/netcdf/'
  4. description = """NetCDF (network Common Data Form) is a set of software libraries
  5. and machine-independent data formats that support the creation, access, and sharing of array-oriented
  6. scientific data."""
  7. toolchain = {'name': 'gompi', 'version': '2020b'}
  8. toolchainopts = {'pic': True, 'usempi': True}
  9. source_urls = ['https://github.com/Unidata/netcdf-c/archive/']
  10. sources = ['v%(version)s.tar.gz']
  11. patches = ['netCDF-%(version)s_fix-ocdebug.patch']
  12. checksums = [
  13. '99930ad7b3c4c1a8e8831fb061cb02b2170fc8e5ccaeda733bd99c3b9d31666b', # v4.7.4.tar.gz
  14. '94c9883005f189a4551947e04191a68199cf4cdcada4b2d313115720fb4690e9', # netCDF-4.7.4_fix-ocdebug.patch
  15. ]
  16. builddependencies = [
  17. ('Autotools', '20200321'),
  18. ('CMake', '3.18.4'),
  19. ('Doxygen', '1.8.20'),
  20. ]
  21. dependencies = [
  22. ('HDF5', '1.10.7'),
  23. ('cURL', '7.72.0'),
  24. ('Szip', '2.1.1'),
  25. ]
  26. # make sure both static and shared libs are built
  27. configopts = [
  28. "-DBUILD_SHARED_LIBS=OFF ",
  29. "-DBUILD_SHARED_LIBS=ON ",
  30. ]
  31. moduleclass = 'data'