update build command to use local source.

Fri, 04 Mar 2011 13:08:15 -0800

author
Andrew A. de Laix <alain@lindenlab.com>
date
Fri, 04 Mar 2011 13:08:15 -0800
changeset 19
1d851a3f52bc
parent 18
0af38655d170
child 20
df5efec8c160

update build command to use local source.

build-cmd.sh file | annotate | diff | revisions
     1.1 --- a/build-cmd.sh	Fri Mar 04 12:56:56 2011 -0800
     1.2 +++ b/build-cmd.sh	Fri Mar 04 13:08:15 2011 -0800
     1.3 @@ -9,9 +9,6 @@
     1.4  
     1.5  BOOST_VERSION="1_45_0"
     1.6  BOOST_SOURCE_DIR="boost_$BOOST_VERSION"
     1.7 -BOOST_ARCHIVE="$BOOST_SOURCE_DIR.tar.gz"
     1.8 -BOOST_URL="http://sourceforge.net/projects/boost/files/boost/1.45.0/$BOOST_ARCHIVE/download"
     1.9 -BOOST_MD5="739792c98fafb95e7a6b5da23a30062c" # for boost_1_45_0.tar.gz
    1.10  
    1.11  if [ -z "$AUTOBUILD" ] ; then 
    1.12      fail
    1.13 @@ -26,25 +23,6 @@
    1.14  eval "$("$AUTOBUILD" source_environment)"
    1.15  set -x
    1.16  
    1.17 -#if [ -f "$BOOST_SOURCE_DIR" ] ; then
    1.18 -    fetch_archive "$BOOST_URL" "$BOOST_ARCHIVE" "$BOOST_MD5"
    1.19 -    extract "$BOOST_ARCHIVE"
    1.20 -#fi
    1.21 -
    1.22 -# Add function template c++0x patch to boost. (for vs2010)
    1.23 -(cd "$BOOST_SOURCE_DIR/boost/function"; patch < "../../../function_template_for_c++0x.patch")
    1.24 -
    1.25 -# Add boost coroutine to the linden lab boost build
    1.26 -COROUTINE_TAR=boost-coroutine-2009-04-30.tar.gz
    1.27 -tar xzf "$COROUTINE_TAR"
    1.28 -cd boost-coroutine 
    1.29 -patch -p1 < "../boost-coroutine-linden.patch"
    1.30 -patch -p0 < "../boost-coroutine-linden-2.patch"
    1.31 -patch -p1 < "../boost-coroutine-2009-12-01.patch"
    1.32 -
    1.33 -cp -rv boost/coroutine "../$BOOST_SOURCE_DIR/boost"
    1.34 -cd ..
    1.35 -
    1.36  top="$(pwd)"
    1.37  cd "$BOOST_SOURCE_DIR"
    1.38  stage="$(pwd)/stage"

mercurial