Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64192 - trunk/tools/build/v2
From: ghost_at_[hidden]
Date: 2010-07-20 04:51:04


Author: vladimir_prus
Date: 2010-07-20 04:51:03 EDT (Tue, 20 Jul 2010)
New Revision: 64192
URL: http://svn.boost.org/trac/boost/changeset/64192

Log:
Update nightly build scripts.

Text files modified:
   trunk/tools/build/v2/nightly.sh | 9 +++++----
   trunk/tools/build/v2/roll.sh | 12 +++---------
   2 files changed, 8 insertions(+), 13 deletions(-)

Modified: trunk/tools/build/v2/nightly.sh
==============================================================================
--- trunk/tools/build/v2/nightly.sh (original)
+++ trunk/tools/build/v2/nightly.sh 2010-07-20 04:51:03 EDT (Tue, 20 Jul 2010)
@@ -16,11 +16,12 @@
 export LC_MESSAGES=C
 export LANG=C
 cd /tmp
-rm -rf boost-build
+rm -rf boost-build-nightly
+mkdir boost-build-nightly
 echo "Checking out sources"
-svn co http://svn.boost.org/svn/boost/trunk/tools boost-build > /tmp/boost_build_checkout_log
-mv /tmp/boost_build_checkout_log boost-build/checkout-log
-cd boost-build/build/v2
+svn co http://svn.boost.org/svn/boost/trunk/tools/build/v2 boost-build-nightly/boost-build > /tmp/boost_build_checkout_log
+mv /tmp/boost_build_checkout_log boost-build-nightly/checkout-log
+cd boost-build-nightly/boost-build/
 echo "Building packages and uploading docs"
 ./roll.sh > ../roll-log 2>&1
 cd ..

Modified: trunk/tools/build/v2/roll.sh
==============================================================================
--- trunk/tools/build/v2/roll.sh (original)
+++ trunk/tools/build/v2/roll.sh 2010-07-20 04:51:03 EDT (Tue, 20 Jul 2010)
@@ -8,14 +8,8 @@
 
 set -e
 
-# Do some renames/rearrangments
-cp -r ../v2 ../boost-build
-# Grab jam_src
-cp -r ../../jam/src ../boost-build/jam_src
-cd ../boost-build
-
 # Capture the version
-revision=`svnversion ..`
+revision=`svnversion .`
 echo "SVN Revision $revision" >> timestamp.txt
 date >> timestamp.txt
 
@@ -23,7 +17,7 @@
 rm -rf example/versioned
 
 # Remove unnecessary top-level files
-find . -maxdepth 1 -type f | egrep -v "boost-build.jam|timestamp.txt|roll.sh|bootstrap.jam|build-system.jam|boost_build.png|index.html|hacking.txt|site-config.jam|user-config.jam" | xargs rm -f
+find . -maxdepth 1 -type f | egrep -v "boost-build.jam|timestamp.txt|roll.sh|bootstrap.jam|build-system.jam|boost_build.png|index.html|hacking.txt|site-config.jam|user-config.jam|bootstrap.sh|bootstrap.bat|Jamroot.jam" | xargs rm -f
 
 # Build the documentation
 touch doc/jamroot.jam
@@ -48,7 +42,7 @@
 # Make packages
 find . -name ".svn" | xargs rm -rf
 rm roll.sh
-chmod a+x jam_src/build.bat
+chmod a+x engine/src/build.bat
 cd .. && zip -r boost-build.zip boost-build && tar --bzip2 -cf boost-build.tar.bz2 boost-build
 # Copy packages to a location where they are grabbed for beta.boost.org
 cp userman.pdf boost-build.zip boost-build.tar.bz2 ~/public_html/boost_build_nightly


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk