Skip to content

Commit b48703a

Browse files
committed
trying another way to pass path to gcc
1 parent 399edfc commit b48703a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ jobs:
6868

6969
- name: Build wheels
7070
env:
71-
CIBW_SKIP: "pp* *-musllinux*"
71+
CIBW_CONFIG_SETTINGS: >
72+
--global-option=build_ext
73+
--global-option="-I{project}/extern/include"
74+
--global-option="-L{project}/extern/lib"
75+
CIBW_SKIP: "pp* *-musllinux*"
7276
CIBW_BEFORE_BUILD: >
73-
python -c "import os; os.environ.update({'GEOS_DIR': os.path.abspath('extern'), 'CPATH': os.path.abspath('extern/include'), 'LIBRARY_PATH': os.path.abspath('extern/lib'), 'LD_LIBRARY_PATH': os.path.abspath('extern/lib')})" &&
7477
python -c "import utils; utils.GeosLibrary('${{ env.GEO_VERSION }}').build('extern', njobs=16)"
7578
CIBW_ENVIRONMENT: >
76-
GEOS_LIBRARY=/{project}/extern/lib/libgeos.so
77-
GEOS_INCLUDE_DIR=/{project}/extern/include
78-
CMAKE_PREFIX_PATH=/{project}/extern
7979
SETUPTOOLS_USE_DISTUTILS=stdlib
8080
CIBW_TEST_COMMAND: >
8181
cd {project}

0 commit comments

Comments
 (0)