[mapguide-commits] r7325 - branches/2.5/Installer/scripts

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sun Jan 20 05:34:36 PST 2013


Author: jng
Date: 2013-01-20 05:34:36 -0800 (Sun, 20 Jan 2013)
New Revision: 7325

Modified:
   branches/2.5/Installer/scripts/build.sh
Log:
#1657: Update build.sh for 64-bit compilation

Modified: branches/2.5/Installer/scripts/build.sh
===================================================================
--- branches/2.5/Installer/scripts/build.sh	2013-01-20 12:57:46 UTC (rev 7324)
+++ branches/2.5/Installer/scripts/build.sh	2013-01-20 13:34:36 UTC (rev 7325)
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 # Global vars for this script. Modify as necessary
-APIVERSION=2.4
+APIVERSION=2.5
 BUILDNUM=${APIVERSION}.0
 BUILDROOT=`pwd`
 INSTALLROOT=/usr/local/mapguideopensource-${BUILDNUM}
@@ -15,7 +15,7 @@
 #SVNRELPATH=/mg-2.4/MgDev
 #SVNROOT="svn://svn.bld.mgproto.net"
 #SVNROOT="http://svn.osgeo.org"
-SVNRELPATH=/mapguide/branches/2.4/MgDev
+SVNRELPATH=/mapguide/branches/2.5/MgDev
 MY_MAKE_OPTS="-j 4"
 UBUNTU=1
 PRESERVE_BUILD_ROOT=1
@@ -122,7 +122,11 @@
 libtoolize --force
 automake --add-missing --copy
 autoconf
-./configure --enable-optimized --prefix=${INSTALLROOT}
+if [ $(uname -m) = "x86_64" ]; then
+    ./configure --enable-optimized --enable-64bit --prefix=${INSTALLROOT}
+else
+    ./configure --enable-optimized --prefix=${INSTALLROOT}
+fi
 make $MY_MAKE_OPTS
 check_build
 BUILD_COMPONENT="MapGuide Install"



More information about the mapguide-commits mailing list