netCDF-4.8.0-iimpi-2021.02.eb 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. name = 'netCDF'
  2. version = '4.8.0'
  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': 'iimpi', 'version': '2021.02'}
  8. toolchainopts = {'pic': True, 'usempi': True}
  9. source_urls = ['https://github.com/Unidata/netcdf-c/archive/']
  10. sources = ['v%(version)s.tar.gz']
  11. checksums = ['aff58f02b1c3e91dc68f989746f652fe51ff39e6270764e484920cb8db5ad092']
  12. builddependencies = [
  13. ('Autotools', '20210128'),
  14. ('CMake', '3.20.1'),
  15. ('Doxygen', '1.9.1'),
  16. ]
  17. dependencies = [
  18. ('HDF5', '1.10.7'),
  19. ('cURL', '7.76.0'),
  20. ('Szip', '2.1.1'),
  21. ]
  22. # HDF5 version detection is missed in netCDF 4.8.0 when HDF5_C_LIBRARY, HDF5_INCLUDE_DIR, and HDF5_HL_LIBRARY are set
  23. local_hdf5_version_fix = '-DHDF5_VERSION=$EBVERSIONHDF5'
  24. # make sure both static and shared libs are built
  25. configopts = [
  26. "-DBUILD_SHARED_LIBS=OFF %s " % local_hdf5_version_fix,
  27. "-DBUILD_SHARED_LIBS=ON %s " % local_hdf5_version_fix,
  28. ]
  29. moduleclass = 'data'