Skip to content

Commit 1af79b5

Browse files
committed
Simplify cibuildwheel before_all block for GNU/Linux
1 parent ea3437f commit 1af79b5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,9 @@ jobs:
5353
- os: ubuntu-latest
5454
before_all: |
5555
echo "Starting BEFORE_ALL script"
56+
echo "GEOS_DIR set to: ${GEOS_DIR}"
5657
cd "{package}"
57-
export GEOS_DIR="$(pwd)/extern"
58-
echo "GEOS_DIR set to: $GEOS_DIR"
59-
python -c "import sys; sys.path.append('utils'); from GeosLibrary import GeosLibrary; GeosLibrary('3.6.5', root='extern').build('extern', njobs=16)"
58+
python -c "import utils; utils.GeosLibrary('${GEOS_VERSION}').build('${GEOS_DIR}', njobs=2)"
6059
# LD_LIBRARY_PATH in environment is needed by auditwheel.
6160
environment: >-
6261
GEOS_DIR="/project/packages/basemap/extern"

0 commit comments

Comments
 (0)