Skip to content

Commit 2e2a254

Browse files
committed
try self-compiled sqlite on macos
1 parent 956c67b commit 2e2a254

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

.github/workflows/python_packages.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,16 @@ jobs:
185185
name: Build wheels on macos-13
186186
runs-on: macos-13
187187
env:
188-
SQLite3_ROOT: /usr/local/opt/sqlite
189-
MACOSX_DEPLOYMENT_TARGET: '13'
188+
SQLite3_ROOT: ./sqlite-autoconf-3460100/.libs
189+
MACOSX_DEPLOYMENT_TARGET: '10.9'
190190
CIBW_SKIP: cp27-* cp35-* cp36-*
191191
CIBW_TEST_COMMAND: python -c "import pygeodiff; pygeodiff.GeoDiff().version()"
192-
192+
CIBW_BEFORE_ALL: >
193+
wget https://www.sqlite.org/2024/sqlite-autoconf-3460100.tar.gz &&
194+
tar -xzvf sqlite-autoconf-3460100.tar.gz &&
195+
cd sqlite-autoconf-3460100 &&
196+
CC=clang CFLAGS="-arch x86_64 -Os -DDSQLITE_ENABLE_SESSION -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE -DSQLITE_DQS=0 -DSQLITE_ENABLE_COLUMN_METADATA" ./configure; make
197+
193198
steps:
194199
- uses: actions/checkout@v3
195200

geodiff/src/geodiff.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
// use scripts/update_version.py to update the version here and in other places at once
3535
const char *GEODIFF_version()
3636
{
37-
return "2.0.2";
37+
return "2.0.3";
3838
}
3939

4040
int GEODIFF_driverCount( GEODIFF_ContextH /*contextHandle*/ )

pygeodiff/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
__description__ = "Diff tool for geo-spatial data"
33
__url__ = "https://github.com/MerginMaps/geodiff"
44
# use scripts/update_version.py to update the version here and in other places at once
5-
__version__ = "2.0.2"
5+
__version__ = "2.0.3"
66
__author__ = "Lutra Consulting Ltd."
77
__author_email__ = "[email protected]"
88
__maintainer__ = "Lutra Consulting Ltd."

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import platform
66

77
# use scripts/update_version.py to update the version here and in other places at once
8-
VERSION = "2.0.2"
8+
VERSION = "2.0.3"
99

1010
cmake_args = [
1111
'-DENABLE_TESTS:BOOL=OFF',

0 commit comments

Comments
 (0)