Skip to content

Commit 734f2b9

Browse files
committed
Add pre-built bindings for GDAL 3.12
1 parent 8e76803 commit 734f2b9

File tree

10 files changed

+51543
-5
lines changed

10 files changed

+51543
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
strategy:
2626
matrix:
2727
version:
28+
- 3.12.0
2829
- 3.11.5
2930
- 3.10.3
3031
- 3.9.3

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
### Added
1010

11+
- Add pre-built bindings for GDAL 3.12 ([#684](https://github.com/georust/gdal/pull/663))
1112
- Add pre-built bindings for GDAL 3.11 ([#663](https://github.com/georust/gdal/pull/663))
1213
- Add `Dataset::try_into_thread_safe` ([#677](https://github.com/georust/gdal/pull/677))
1314
- Add `RasterBand::checksum` ([#676](https://github.com/georust/gdal/pull/676))

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,6 @@ check-cfg = [
6060
'cfg(minor_ge_8)',
6161
'cfg(minor_ge_9)',
6262
'cfg(minor_ge_10)',
63+
'cfg(minor_ge_11)',
64+
'cfg(minor_ge_12)',
6365
]

DEVELOPMENT.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ git submodule init
77
git submodule update
88
cd gdal-src/source
99
git pull
10-
git checkout v3.8.3 # corresponds to the tag you want to update to
10+
git checkout v3.8.4 # corresponds to the tag you want to update to
1111
cd ../../
1212
git add gdal-src/source
1313
git commit -m "Update bundled gdal version to 3.8.4"
@@ -18,13 +18,13 @@ These steps assume that there are no fundamental changes to the gdal build syste
1818
# Generating Bindings
1919

2020
```bash
21-
docker run -it --rm -v ./gdal-sys:/gdal-sys:z -w /gdal-sys -e GDAL_VERSION=3_11 ghcr.io/osgeo/gdal:ubuntu-full-3.11.4 bash
21+
docker run -it --rm -v ./gdal-sys:/gdal-sys:z -w /gdal-sys -e GDAL_VERSION=3_12 ghcr.io/osgeo/gdal:ubuntu-full-3.12.0 bash
2222
# everything from now on is inside of the container
2323

2424
# install mingw toolchain for generating windows bindings
2525
# install libclang for bindgen
2626
# gcc-i686-linux-gnu to generate bindings for 32 bit linux
27-
apt update && apt install -y libclang-dev mingw-w64 gcc-i686-linux-gnu pkg-config rustfmt
27+
apt update && apt install -y libclang-dev mingw-w64 gcc-i686-linux-gnu pkg-config rustfmt xz-utils
2828

2929
# install bindgen
3030
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/download/v0.71.1/bindgen-cli-installer.sh | sh
@@ -33,7 +33,7 @@ source $HOME/.cargo/env
3333
# create the output directory for the prebuild bindings if necessary
3434
mkdir /gdal-sys/prebuilt-bindings/$GDAL_VERSION
3535

36-
# if you update these command consider updating the command in gdal-sys/build.rs
36+
# if you update these commands consider updating the command in gdal-sys/build.rs
3737
# make sure to use the same bindgen flags (everything before wrapper) for
3838
# all targets
3939
#

0 commit comments

Comments
 (0)