File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
scripts/wheelbuilder/linux Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 37
37
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
38
38
# SOFTWARE.
39
39
40
+ GEOS_VERSION=3.13.1
41
+ GEOS_INSTALL=" /usr"
42
+
40
43
if [ -n " $GITHUB_RUN_ID " ]; then
41
- dnf install -y geos-devel
44
+ dnf install -y cmake
45
+ curl -OL --retry 5 " https://download.osgeo.org/geos/geos-${GEOS_VERSION} .tar.bz2"
46
+ tar xfj " geos-${GEOS_VERSION} .tar.bz2" && rm " geos-${GEOS_VERSION} .tar.bz2"
47
+ cmake -DCMAKE_INSTALL_LIBDIR=lib \
48
+ " -DCMAKE_INSTALL_NAME_DIR=${GEOS_INSTALL} /lib" \
49
+ " -DCMAKE_INSTALL_PREFIX=${GEOS_INSTALL} " \
50
+ -DCMAKE_BUILD_TYPE=Release \
51
+ -DBUILD_TESTING=OFF \
52
+ -S " geos-${GEOS_VERSION} " -B build
53
+ cmake --build build -j 4
54
+ cmake --install build
55
+ rm -rf build " geos-${GEOS_VERSION} "
56
+ fi
57
+
58
+ if [ -n " $1 " ]; then
59
+ pip wheel " shapely==$1 "
60
+ else
61
+ pip wheel shapely
42
62
fi
You can’t perform that action at this time.
0 commit comments