Skip to content

Commit

Permalink
Rel 1.10b2 (#44)
Browse files Browse the repository at this point in the history
* Explicitly build and link pcre2

Upgrades: CURL 8.8.0, GDAL 3.9.1

* Build fiona main

* PCRE2 8.45

* It's PCRE2-8_LIBRARY

* Get pcre2 from github

* Explicitly specify library file path

* Generalize pcre2 library path

* Build tagged 1.10b2

* Update libjpeg to 6f
  • Loading branch information
sgillies authored Jul 29, 2024
1 parent 4a4ec88 commit 9132605
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ wheel_build_task:
env:
BUILD_PREFIX: /private/tmp/local
REPO_DIR: Fiona
BUILD_COMMIT: rel-1.10b1
BUILD_COMMIT: 1.10b2
CIRRUS_CLONE_SUBMODULES: true
PATH: /opt/homebrew/opt/python@3.10/bin:$PATH
PLAT: "arm64"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- os: "ubuntu-20.04"
os-name: "focal"
env:
BUILD_COMMIT: rel-1.10b1
BUILD_COMMIT: 1.10b2
PLAT: "${{ matrix.platform }}"
MB_PYTHON_VERSION: "${{ matrix.python }}"
MB_ML_VER: "2014"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/win-wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Windows wheels
on: [push, pull_request, workflow_dispatch]

env:
REF: rel-1.10b1
REF: 1.10b2

# cancel running jobs on new commit to PR
concurrency:
Expand Down
11 changes: 10 additions & 1 deletion config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ function build_curl {
touch curl-stamp
}

function build_pcre2 {
build_simple pcre2 $PCRE_VERSION https://github.com/PCRE2Project/pcre2/releases/download/pcre2-${PCRE_VERSION}
}


function build_gdal {
if [ -e gdal-stamp ]; then return; fi
Expand All @@ -199,14 +203,17 @@ function build_gdal {
build_sqlite
build_expat
build_geos
build_pcre2

CFLAGS="$CFLAGS -DPROJ_RENAME_SYMBOLS -g -O2"
CXXFLAGS="$CXXFLAGS -DPROJ_RENAME_SYMBOLS -DPROJ_INTERNAL_CPP_NAMESPACE -g -O2"

if [ -n "$IS_OSX" ]; then
GEOS_CONFIG="-DGDAL_USE_GEOS=OFF"
PCRE2_LIB="$BUILD_PREFIX/lib/libpcre2-8.dylib"
else
GEOS_CONFIG="-DGDAL_USE_GEOS=ON"
PCRE2_LIB="$BUILD_PREFIX/lib/libpcre2-8.so"
fi

local cmake=cmake
Expand Down Expand Up @@ -245,7 +252,9 @@ function build_gdal {
-DGDAL_USE_SFCGAL=OFF \
-DGDAL_USE_XERCESC=OFF \
-DGDAL_USE_LIBXML2=OFF \
-DGDAL_USE_PCRE2=OFF \
-DGDAL_USE_PCRE2=ON \
-DPCRE2_INCLUDE_DIR=$BUILD_PREFIX/include \
-DPCRE2-8_LIBRARY=$PCRE2_LIB \
-DGDAL_USE_POSTGRESQL=OFF \
-DGDAL_USE_ODBC=OFF \
&& $cmake --build . -j4 \
Expand Down
7 changes: 4 additions & 3 deletions env_vars.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
LIBPNG_VERSION=1.6.35
ZLIB_VERSION=1.2.11
JPEG_VERSION=9c
JPEG_VERSION=9f
GEOS_VERSION=3.11.2
JSONC_VERSION=0.15
SQLITE_VERSION=3330000
PROJ_VERSION=9.3.1
GDAL_VERSION=3.8.4
CURL_VERSION=8.4.0
GDAL_VERSION=3.9.1
CURL_VERSION=8.8.0
NGHTTP2_VERSION=1.46.0
EXPAT_VERSION=2.2.6
TIFF_VERSION=4.3.0
OPENSSL_DOWNLOAD_URL=https://www.openssl.org/source/
OPENSSL_ROOT=openssl-1.1.1w
OPENSSL_HASH=cf3098950cb4d853ad95c0841f1f9c6d3dc102dccfcacd521d93925208b76ac8
PCRE_VERSION=10.44
export MACOSX_DEPLOYMENT_TARGET=10.15
export GDAL_CONFIG=/usr/local/bin/gdal-config
export PACKAGE_DATA=1
Expand Down

0 comments on commit 9132605

Please sign in to comment.