Commit 833a669d authored by Lukáš Krupčík's avatar Lukáš Krupčík

Merge branch 'it4i-salomon'

parents cdbaf710 79179d23
easyblock = 'ConfigureMake'
name = 'GDAL'
version = '1.11.4'
versionsuffix = '-Python-%(pyver)s'
homepage = 'http://www.gdal.org/'
description = """GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style
Open Source license by the Open Source Geospatial Foundation. As a library, it presents a single abstract data model
to the calling application for all supported formats. It also comes with a variety of useful commandline utilities for
data translation and processing."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['http://download.osgeo.org/gdal/%(version)s/']
sources = [SOURCELOWER_TAR_XZ]
#patches = ['GDAL-%(version)s_fix-uchar-definition.patch']
dependencies = [
('Python', '3.6.1'),
('netCDF', '4.4.1.1', '', ('intel', '2017a')),
('expat', '2.2.0'),
# ('GEOS', '3.6.1', versionsuffix),
('SQLite', '3.17.0'),
('libxml2', '2.9.4'),
('libpng', '1.6.29'),
('libjpeg-turbo', '1.5.1'),
('JasPer', '2.0.12', '', ('intel', '2017a')),
('LibTIFF', '4.0.7'),
('zlib', '1.2.11'),
# ('cURL', '7.53.1'),
('PCRE', '8.40'),
]
configopts = '--with-expat=$EBROOTEXPAT --with-libz=$EBROOTLIBZ --with-netcdf=$EBROOTNETCDF'
configopts += ' --with-xml2=$EBROOTLIBXML2 --with-geos=$EBROOTGEOS/bin/geos-config --with-jpeg=$EBROOTLIBJPEGMINTURBO'
configopts += ' --with-png=$EBROOTLIBPNG --with-sqlite3=$EBROOTSQLITE --with-jasper=$EBROOTJASPER'
configopts += ' --with-libtiff=$EBROOTLIBTIFF --with-pcre=$EBROOTPCRE --with-python=$EBROOTPYTHON/bin/python'
modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'}
sanity_check_paths = {
'files': ['lib/libgdal.a', 'lib/libgdal.%s' % SHLIB_EXT],
'dirs': ['bin', 'include', 'lib/python%(pyshortver)s/site-packages']
}
moduleclass = 'data'
easyblock = 'ConfigureMake'
name = 'GDAL'
version = "1.11.4"
versionsuffix = '-Python-3.4.3'
homepage = 'http://www.gdal.org/'
description = """GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style
Open Source license by the Open Source Geospatial Foundation. As a library, it presents a single abstract data model
to the calling application for all supported formats. It also comes with a variety of useful commandline utilities for
data translation and processing."""
toolchain = {'name': 'intel', 'version': '2015b'}
source_urls = ['http://download.osgeo.org/gdal/%(version)s/']
sources = [SOURCELOWER_TAR_XZ]
dependencies = [
('zlib', '1.2.8'),
('Python', '3.4.3')
]
sanity_check_paths = {
'files': ['lib/libgdal.%s' % SHLIB_EXT, 'lib/libgdal.a'],
'dirs': ['bin', 'include']
}
moduleclass = 'data'
easyblock = 'ConfigureMake'
name = 'GEOS'
version = '3.6.1'
homepage = 'http://trac.osgeo.org/geos'
description = """GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS)"""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['http://download.osgeo.org/geos/']
sources = [SOURCELOWER_TAR_BZ2]
pyver = '3.6.1'
pyshortver = '.'.join(pyver.split('.')[0:2])
versionsuffix = '-Python-%s' % pyver
dependencies = [('Python', pyver)]
builddependencies = [('SWIG', '3.0.12', versionsuffix)]
configopts = '--enable-python'
modextrapaths = {'PYTHONPATH': 'lib/python%s/site-packages' % pyshortver}
sanity_check_paths = {
'files': ['bin/geos-config', 'lib/libgeos.%s' % SHLIB_EXT, 'lib/libgeos.a', 'include/geos.h'],
'dirs': ['lib/python%s/site-packages/geos' % pyshortver]
}
moduleclass = 'math'
......@@ -36,7 +36,9 @@ configopts += '-DOPENGL_glu_LIBRARY=$EBROOTLIBGLU/lib/libGLU.%s ' % SHLIB_EXT
configopts += '-DVTK_USE_SYSTEM_HDF5=ON -DPARAVIEW_ENABLE_PYTHON=ON -DBUILD_SHARED_LIBS=ON -DVTK_RENDERING_BACKEND=OpenGL2 '
configopts += '-DPARAVIEW_USE_OSPRAY=ON -DOSPRAY_INSTALL_DIR=$EBROOTOSPRAY -DPARAVIEW_QT_VERSION=5 '
# if you want to build server only Paraview, uncomment the following line:
configopts += '-DVTK_USE_X=OFF -DVTK_USE_OFFSCREEN=ON '
#configopts += '-DVTK_USE_X=OFF '
configopts += '-DPARAVIEW_BUILD_QT_GUI=OFF '
configopts += '-DVTK_USE_OFFSCREEN=ON '
# Without internet connection turn off testing (uncomment the following line)
configopts += '-DBUILD_TESTING=OFF '
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment