GDAL-2.2.0-intel-2017.02.eb 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. easyblock = 'ConfigureMake'
  2. name = 'GDAL'
  3. version = '2.2.0'
  4. homepage = 'http://www.gdal.org/'
  5. description = """GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style
  6. Open Source license by the Open Source Geospatial Foundation. As a library, it presents a single abstract data model
  7. to the calling application for all supported formats. It also comes with a variety of useful commandline utilities for
  8. data translation and processing."""
  9. toolchain = {'name': 'intel', 'version': '2017.02'}
  10. toolchainopts = {'usempi': True}
  11. source_urls = ['http://download.osgeo.org/gdal/%(version)s/']
  12. sources = [SOURCELOWER_TAR_XZ]
  13. patches = ['GDAL-%(version)s_fix-uchar-definition.patch']
  14. dependencies = [
  15. ('Python', '2.7.13'),
  16. ('netCDF', '4.4.1.1'),
  17. ('expat', '2.2.0'),
  18. ('GEOS', '3.6.1'),
  19. ('SQLite', '3.17.0'),
  20. ('libxml2', '2.9.4'),
  21. ('libpng', '1.6.29'),
  22. ('libjpeg-turbo', '1.5.1'),
  23. ('JasPer', '1.900.1'),
  24. ('LibTIFF', '4.0.7'),
  25. ('zlib', '1.2.11'),
  26. ('cURL', '7.53.1'),
  27. ('PCRE', '8.40'),
  28. ]
  29. configopts = '--with-expat=$EBROOTEXPAT --with-libz=$EBROOTLIBZ --with-hdf5=$EBROOTHDF5 --with-netcdf=$EBROOTNETCDF'
  30. configopts += ' --with-xml2=$EBROOTLIBXML2 --with-geos=$EBROOTGEOS/bin/geos-config --with-jpeg=$EBROOTLIBJPEGMINTURBO'
  31. configopts += ' --with-png=$EBROOTLIBPNG --with-sqlite3=$EBROOTSQLITE --with-jasper=$EBROOTJASPER'
  32. configopts += ' --with-libtiff=$EBROOTLIBTIFF --with-pcre=$EBROOTPCRE --with-python=$EBROOTPYTHON/bin/python'
  33. modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'}
  34. sanity_check_paths = {
  35. 'files': ['lib/libgdal.a', 'lib/libgdal.%s' % SHLIB_EXT],
  36. 'dirs': ['bin', 'include', 'lib/python%(pyshortver)s/site-packages']
  37. }
  38. moduleclass = 'data'