This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export OS_BUILD=64 | |
export PROJECTS=/projects | |
export PG_VER=9.4 | |
export GCC_TYPE=gcc48 | |
export PGPATH=${PROJECTS}/postgresql/rel/pg${PG_VER}w${OS_BUILD}${GCC_TYPE} | |
GMP_VER=5.1.2 | |
MPFR_VER=3.1.2 | |
CGAL_VER=4.2 | |
#BOOST_VER=1.47.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running tests... | |
Test project C:/ming64gcc48/projects/geos/branches/build | |
Start 1: geos_unit | |
1/4 Test #1: geos_unit ........................ Passed 0.08 sec | |
Start 2: xmltester | |
2/4 Test #2: xmltester ........................ Passed 2.73 sec | |
Start 3: bug234 | |
3/4 Test #3: bug234 ........................... Passed 0.02 sec | |
Start 4: TestSweepLineSpeed | |
4/4 Test #4: TestSweepLineSpeed ............... Passed 0.97 sec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export OS_BUILD=64 | |
export GCC_TYPE=gcc48 | |
PROJECTS=/projects | |
if [[ "${OS_BUILD}" == "" && "$1" == "" ]] ; then | |
echo "Usage: makedependencies OS_BUILD" | |
echo " OS_BUILD = 32|64" | |
echo " or export OS_BUILD=xx" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export OS_BUILD=64 | |
export PROJECTS=/projects | |
export PG_VER=9.4 | |
export GCC_TYPE=gcc48 | |
export PGPATH=${PROJECTS}/postgresql/rel/pg${PG_VER}w${OS_BUILD}${GCC_TYPE} | |
export PATHOLD=$PATH | |
echo $PATHOLD >c:/path.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#use 7zip to extract the dev env | |
# 64-bit builds my chain is http://www.bostongis.com/postgisstuff/ming64gcc48.7z (gcc 4.8.3) | |
export GCC_TYPE=gcc48 | |
export OS_BUILD=64 | |
export SOURCES=/projects/sources | |
if [[ "${OS_BUILD}" == "" && "$1" == "" ]] ; then | |
echo "Usage: makedependencies OS_BUILD" | |
echo " OS_BUILD = 32|64" | |
echo " or export OS_BUILD=xx" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export OS_BUILD=32 | |
export PROJECTS=/projects | |
export PATHOLD=$PATH | |
export GCC_TYPE= | |
export SOURCES=/sources | |
#echo $PATHOLD | |
echo $PATHOLD >c:/path.txt | |
#export PATHOLD=".:/bin:/mingw/bin:/mingw/include:/c/Windows/system32:/c/Windows:/usr/local/bin" | |
#export PATHOLD=".:/bin:/include:/mingw/bin:/mingw/include:/c/Windows/system32:/c/Windows:/c/Windows/SysWow64" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export OS_BUILD=64 | |
export GCC_TYPE=gcc48 | |
export SOURCES=/sources | |
PROJECTS=/projects | |
export PATHOLD="/mingw/bin:/mingw/include:/c/Windows/system32:/cmake/bin:/bin" | |
if true; then | |
export LIBXML_VER=2.7.8 | |
#export LIBLAS_VER=1.7.0 | |
#export PROJ_VER=4.8.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export OS_BUILD=64 | |
export PROJECTS=/projects | |
export GCC_TYPE=gcc48 | |
export PATHOLD=$PATH | |
export PROJ_VER=4.8.0 | |
#echo $PATHOLD | |
echo $PATHOLD >c:/path.txt | |
#export PATHOLD=".:/bin:/mingw/bin:/mingw/include:/c/Windows/system32:/c/Windows:/usr/local/bin" | |
export export PATHOLD="/mingw/bin:/mingw/include:/c/Windows/system32:/bin:/include" #export PATHOLD=".:/bin:/include:/mingw/bin:/mingw/include:/c/Windows/system32:/c/Windows:/usr/local/bin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I still haven't figured out how to build with gyp, | |
# after many hours trying downloading 700 mb of a toolchain google forces me to use, | |
# so I still build with a version of v8 that I know works with scons | |
# 1. install scons (32-bit) from http://www.scons.org/ (I think mine is 2.3.4) and I have in python 2.7 something | |
# 2. For this I've been using mingw-w64 on a windows 7 64-bit ((x86_64-win32-seh-rev1, Built by MinGW-W64 project) 4.8.3) , Msys | |
# http://mingw-w64.sourceforge.net/download.php (for the 32-bit version I use minGW-w64 w32 chain ( (rev2, Built by MinGW-W64 project) 4.8.1 with sjlj ) ) | |
##Building V8 | |
## Rest is script, there is some manual edit involved | |
OS_BUILD=64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TMPDIR="/gisdata/temp/" | |
UNZIPTOOL=unzip | |
WGETTOOL="/usr/bin/wget" | |
export PGBIN=/usr/lib/postgresql/9.6/bin | |
export PGPORT=5432 | |
export PGHOST=localhost | |
export PGUSER=postgres | |
export PGPASSWORD=yourpasswordhere | |
export PGDATABASE=geocoder | |
PSQL=${PGBIN}/psql |
OlderNewer