From: Regina Obe Date: Sat, 13 Jan 2018 06:59:34 +0000 (+0000) Subject: First draft X-Git-Tag: 2.5.0alpha~189 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4b07d66a0e0d52484316b5eea11e96cb191f751;p=postgis First draft References #3985 git-svn-id: http://svn.osgeo.org/postgis/trunk@16281 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/ci/debbie/postgis_make_dist.sh b/ci/debbie/postgis_make_dist.sh new file mode 100644 index 000000000..c25a1fdf9 --- /dev/null +++ b/ci/debbie/postgis_make_dist.sh @@ -0,0 +1,30 @@ +#!/bin/bash +set -e +## begin variables passed in by jenkins + +export PG_VER=9.6 +# export PGPORT=8442 +export OS_BUILD=64 +# export POSTGIS_MAJOR_VERSION=2 +# export POSTGIS_MINOR_VERSION=2 +# export POSTGIS_MICRO_VERSION=0dev +# export JENKINS_HOME=/var/lib/jenkins/workspace +export GEOS_VER=3.6.2 +export GDAL_VER=2.2 +export WEB_DIR=/var/www/postgis_stuff/ +export PATH="${PGPATH}/bin:$PATH" +export LD_LIBRARY_PATH="${PROJECTS}/gdal/rel-${GDAL_VER}w${OS_BUILD}/lib:${PROJECTS}/geos/rel-${GEOS_VER}w${OS_BUILD}/lib:${PGPATH}/lib" + +cd ../../ +$POSTGIS_MAJOR_VERSION=`grep ^POSTGIS_MAJOR_VERSION Version.config | cut -d= -f2` +$POSTGIS_MINOR_VERSION=`grep ^POSTGIS_MINOR_VERSION Version.config | cut -d= -f2` +$POSTGIS_MICRO_VERSION=`grep ^POSTGIS_MICRO_VERSION Version.config | cut -d= -f2` + +export CONFIGURE_ARGS=--with-pgconfig=${PROJECTS}/pg/rel/pg${PG_VER}w${OS_BUILD}/bin/pg_config \ + --with-geosconfig=${PROJECTS}/geos/rel-${GEOS_VER}w${OS_BUILD}/bin/geos-config \ + --with-gdalconfig=${PROJECTS}/gdal/rel-${GDAL_VER}w${OS_BUILD}/bin/gdal-config --with-sfcgal=/usr/bin/sfcgal-config \ + --without-interrupt-tests \ + --prefix=${PROJECTS}/pg/rel/pg${PG_VER}w${OS_BUILD} + +sh make_dist.sh +cp $package $WEB_DIR