Skip to content

Commit

Permalink
Relax exact-version gdal dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
craigds committed Mar 18, 2024
1 parent 99adf33 commit 2b47d36
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .buildkite/_compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -eu

DEB_VER=$1
# pinned because there's also a 3.8.x in the repos and we still want to build against 3.6.x
GDAL_VER=3.6.4+kx-ci364-git20240110.6c7ffa44c2
MIN_GDAL_VER=3.6.4+kx-ci364-git20240110.6c7ffa44c2

source /etc/lsb-release

Expand All @@ -12,10 +12,10 @@ apt-get install -y --no-install-recommends \
file \
libcurl4-openssl-dev \
libgeotiff-dev \
"libgdal-dev=${GDAL_VER}" \
"libgdal32=${GDAL_VER}" \
"gdal-plugins=${GDAL_VER}" \
"gdal-data=${GDAL_VER}"
"libgdal-dev=${MIN_GDAL_VER}" \
"libgdal32=${MIN_GDAL_VER}" \
"gdal-plugins=${MIN_GDAL_VER}" \
"gdal-data=${MIN_GDAL_VER}"

# install modern cmake
CMAKE_VER=3.24.1
Expand All @@ -37,7 +37,7 @@ cmake -S /src -B . \
[email protected] \
-DCPACK_DEBIAN_PACKAGE_SHLIBDEPS=ON \
-DCPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS=ON \
-DCPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS_POLICY="=" \
-DCPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS_POLICY=">=" \
-DCPACK_DEBIAN_FILE_NAME=DEB-DEFAULT

# compile
Expand Down

0 comments on commit 2b47d36

Please sign in to comment.