-
Notifications
You must be signed in to change notification settings - Fork 773
{data}[foss/2022b, GCCcore/12.2.0] GDAL v3.6.2 w/ Python 3.10.8, libgeotiff v1.7.1 #17198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
boegel
merged 6 commits into
easybuilders:develop
from
jfgrimm:20230124152525_new_pr_GDAL362
Feb 28, 2023
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
60207b4
adding easyconfigs: GDAL-3.6.2-foss-2022b.eb and patches: GDAL-3.6.2_…
jfgrimm 6028d89
Merge branch 'develop' of https://github.com/easybuilders/easybuild-e…
boegel d1b0506
Merge branch 'develop' of https://github.com/easybuilders/easybuild-e…
verdurin 1157e0d
Merge branch 'develop' of https://github.com/easybuilders/easybuild-e…
jfgrimm 1da2d9a
add libgeotiff easyconfig
jfgrimm 2f3085c
Update easybuild/easyconfigs/g/GDAL/GDAL-3.6.2-foss-2022b.eb
jfgrimm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,80 @@ | ||
| easyblock = 'CMakeMake' | ||
|
|
||
| name = 'GDAL' | ||
| version = '3.6.2' | ||
|
|
||
| homepage = 'https://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': 'foss', 'version': '2022b'} | ||
| toolchainopts = {'usempi': True} | ||
|
|
||
| source_urls = ['https://download.osgeo.org/gdal/%(version)s/'] | ||
| sources = [SOURCELOWER_TAR_XZ] | ||
| patches = ['GDAL-3.6.2_fix-python-CC-CXX.patch'] | ||
| checksums = [ | ||
| {'gdal-3.6.2.tar.xz': '35f40d2e08061b342513cdcddc2b997b3814ef8254514f0ef1e8bc7aa56cf681'}, | ||
| {'GDAL-3.6.2_fix-python-CC-CXX.patch': '859b874b0c8ff7626a76d51f008bf05b7f89a35b325bdd1d126d2364154acc63'}, | ||
| ] | ||
|
|
||
| builddependencies = [ | ||
| ('CMake', '3.24.3'), | ||
| ('pkgconf', '1.9.3'), | ||
| ('Bison', '3.8.2'), | ||
| ] | ||
|
|
||
| dependencies = [ | ||
| ('Python', '3.10.8'), | ||
| ('netCDF', '4.9.0'), | ||
| ('expat', '2.4.9'), | ||
| ('GEOS', '3.11.1'), | ||
| ('SQLite', '3.39.4'), | ||
| ('libxml2', '2.10.3'), | ||
| ('libpng', '1.6.38'), | ||
| ('libjpeg-turbo', '2.1.4'), | ||
| ('JasPer', '4.0.0'), | ||
| ('LibTIFF', '4.4.0'), | ||
| ('zlib', '1.2.12'), | ||
| ('cURL', '7.86.0'), | ||
| ('PCRE', '8.45'), | ||
| ('PROJ', '9.1.1'), | ||
| ('libgeotiff', '1.7.1'), | ||
| ('SciPy-bundle', '2023.02'), | ||
| ('HDF5', '1.14.0'), | ||
| ('HDF', '4.2.15'), | ||
| ('Armadillo', '11.4.3'), | ||
| ('CFITSIO', '4.2.0'), | ||
| ('zstd', '1.5.2'), | ||
| ('giflib', '5.2.1'), | ||
| ('json-c', '0.16'), | ||
| ('Xerces-C++', '3.2.4'), | ||
| ('PCRE2', '10.40'), | ||
| ('OpenEXR', '3.1.5'), | ||
| ('Brunsli', '0.1'), | ||
| ('Qhull', '2020.2'), | ||
| ('LERC', '4.0.0'), | ||
| ] | ||
|
|
||
| # common configopts for static, shared library builds | ||
| _base_configopts = ' '.join([ | ||
| '-DGDAL_USE_INTERNAL_LIBS=OFF', | ||
| '-DArrow_DIR=$EBROOTARROW', | ||
| '-DGEOTIFF_INCLUDE_DIR=$EBROOTLIBGEOTIFF/include', | ||
| ]) | ||
|
|
||
| # iterative build for both static and shared libraries | ||
| configopts = [' '.join([_base_configopts, x]) for x in ['-DBUILD_SHARED_LIBS=OFF', '']] | ||
|
|
||
| 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'] | ||
| } | ||
|
|
||
| sanity_check_commands = ["python -c 'import osgeo.gdal'"] | ||
|
|
||
| moduleclass = 'data' | ||
18 changes: 18 additions & 0 deletions
18
easybuild/easyconfigs/g/GDAL/GDAL-3.6.2_fix-python-CC-CXX.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| to ensure that correct compiler commands are used | ||
| Kenneth Hoste (HPC-UGent), updated for v3.6.2 by Jasper Grimm (UoY) | ||
| diff -ruN gdal-3.6.2.orig/swig/python/setup.py.in gdal-3.6.2/swig/python/setup.py.in | ||
| --- gdal-3.6.2.orig/swig/python/setup.py.in 2023-01-24 10:50:11.000000000 +0000 | ||
| +++ gdal-3.6.2/swig/python/setup.py.in 2023-01-02 14:38:17.000000000 +0000 | ||
| @@ -16,6 +16,12 @@ | ||
| from setuptools import find_packages | ||
| from setuptools import Extension | ||
|
|
||
| +for key in ['CC', 'CXX']: | ||
| + seqkey = '%s_SEQ' % key | ||
| + if seqkey in os.environ: | ||
| + os.environ[key] = os.environ[seqkey] | ||
| + print('$%s set to %s (via $%s)' % (key, os.environ[key], seqkey)) | ||
| + | ||
| # If CXX is defined in the environment, it will be used to link the .so | ||
| # but setuptools will be confused if it is made of several words like 'ccache g++' | ||
| # and it will try to use only the first word. |
36 changes: 36 additions & 0 deletions
36
easybuild/easyconfigs/l/libgeotiff/libgeotiff-1.7.1-GCCcore-12.2.0.eb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| easyblock = 'ConfigureMake' | ||
|
|
||
| name = 'libgeotiff' | ||
| version = '1.7.1' | ||
|
|
||
| homepage = 'https://directory.fsf.org/wiki/Libgeotiff' | ||
| description = """Library for reading and writing coordinate system information from/to GeoTIFF files""" | ||
|
|
||
| toolchain = {'name': 'GCCcore', 'version': '12.2.0'} | ||
|
|
||
| source_urls = ['https://download.osgeo.org/geotiff/libgeotiff'] | ||
| sources = [SOURCE_TAR_GZ] | ||
| checksums = ['05ab1347aaa471fc97347d8d4269ff0c00f30fa666d956baba37948ec87e55d6'] | ||
|
|
||
| builddependencies = [ | ||
| ('binutils', '2.39'), | ||
| ] | ||
|
|
||
| dependencies = [ | ||
| ('PROJ', '9.1.1'), | ||
| ('libjpeg-turbo', '2.1.4'), | ||
| ('zlib', '1.2.12'), | ||
| ('SQLite', '3.39.4'), | ||
| ('LibTIFF', '4.4.0'), | ||
| ('cURL', '7.86.0'), | ||
| ] | ||
|
|
||
| configopts = ' --with-libtiff=$EBROOTLIBTIFF --with-proj=$EBROOTPROJ --with-zlib=$EBROOTZLIB' | ||
| configopts += ' --with-jpeg=$EBROOTLIBJPEGMINTURBO' | ||
|
|
||
| sanity_check_paths = { | ||
| 'files': ['bin/listgeo', 'lib/libgeotiff.a', 'lib/libgeotiff.%s' % SHLIB_EXT], | ||
| 'dirs': ['include', 'share'], | ||
| } | ||
|
|
||
| moduleclass = 'lib' |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.