File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -70,12 +70,15 @@ jobs:
70
70
env :
71
71
CIBW_SKIP : " pp* *-musllinux*"
72
72
CIBW_BEFORE_BUILD : >
73
+ python -c "
74
+ import os;
75
+ os.environ['GEOS_DIR'] = os.path.abspath('extern');
76
+ os.environ['CPATH'] = os.path.abspath('extern/include');
77
+ os.environ['LIBRARY_PATH'] = os.path.abspath('extern/lib');
78
+ os.environ['LD_LIBRARY_PATH'] = os.path.abspath('extern/lib')
79
+ " &&
73
80
python -c "import utils; utils.GeosLibrary('${{ env.GEO_VERSION }}').build('extern', njobs=16)"
74
81
CIBW_ENVIRONMENT : >
75
- GEOS_DIR=/{project}/extern
76
- CPATH=/{project}/extern/include
77
- LIBRARY_PATH=/{project}/extern/lib
78
- LD_LIBRARY_PATH=/{project}/extern/lib
79
82
GEOS_LIBRARY=/{project}/extern/lib/libgeos.so
80
83
GEOS_INCLUDE_DIR=/{project}/extern/include
81
84
CMAKE_PREFIX_PATH=/{project}/extern
You can’t perform that action at this time.
0 commit comments