From 7850836a71b402e6685a29e4b2c3a10706171072 Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Nov 15 2005 20:43:12 +0000 Subject: - Update to boost-1.33.1 beta. - Run testsuite, gather results. - --- diff --git a/.cvsignore b/.cvsignore index b7f7d6b..3dbd061 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ boost_1_33_0.tar.bz2 +boost-1.33.1.20051114.tar.bz2 diff --git a/boost-runtests.patch b/boost-runtests.patch new file mode 100644 index 0000000..d9c4311 --- /dev/null +++ b/boost-runtests.patch @@ -0,0 +1,54 @@ +*** tools/regression/run_tests.sh.orig 2005-11-14 17:28:00.000000000 -0600 +--- tools/regression/run_tests.sh 2005-11-15 00:42:12.000000000 -0600 +*************** +*** 15,21 **** + # This can be either a non-exitent directory or an already complete Boost + # source tree. + # +! boost_root="$HOME/CVSROOTs/Boost/boost_regression" + + # + # Wether to fetch the most current Boost code from CVS (yes/no): +--- 15,21 ---- + # This can be either a non-exitent directory or an already complete Boost + # source tree. + # +! boost_root=`pwd`/../.. + + # + # Wether to fetch the most current Boost code from CVS (yes/no): +*************** for tool in $test_tools ; do +*** 151,157 **** + # + echo running the $tool regression tests: + cd "$boost_root/status" +! "$bjam" -sTOOLS=$tool --dump-tests test 2>&1 | tee regress.log + + # + # STEP 4: +--- 151,157 ---- + # + echo running the $tool regression tests: + cd "$boost_root/status" +! "$bjam" -sTOOLS=$tool -sBUILD=release --dump-tests test 2>&1 | tee regress.log + + # + # STEP 4: +*************** done +*** 172,178 **** + # + uname=`uname` + echo generating html tables: +! "$compiler_status" --comment "$comment_path" "$boost_root" cs-$uname.html cs-$uname-links.html + if test $? != 0 ; then + echo "Failed HTML result table generation." + exit 256 +--- 172,179 ---- + # + uname=`uname` + echo generating html tables: +! echo "$compiler_status $boost_root results.html results-links.html" +! "$compiler_status" "$boost_root" results.html results-links.html + if test $? != 0 ; then + echo "Failed HTML result table generation." + exit 256 diff --git a/boost.spec b/boost.spec index d088547..4e8a3e3 100644 --- a/boost.spec +++ b/boost.spec @@ -1,9 +1,9 @@ -%define tarball_name boost_1_33_0 +%define tarball_name boost-1.33.1.20051114 Name: boost Summary: The Boost C++ Libraries -Version: 1.33.0 -Release: 4 +Version: 1.33.1 +Release: 1 License: Boost Software License URL: http://www.boost.org/ Group: System Environment/Libraries @@ -19,15 +19,16 @@ Patch0: boost-base.patch Patch1: boost-gcc-tools.patch Patch2: boost-thread.patch Patch3: boost-config-compiler-gcc.patch +Patch4: boost-runtests.patch %description Boost provides free peer-reviewed portable C++ source libraries. The emphasis is on libraries which work well with the C++ Standard -Library. One goal is to establish "existing practice" and provide -reference implementations so that the Boost libraries are suitable for -eventual standardization. (Some of the libraries have already been -proposed for inclusion in the C++ Standards Committee's upcoming C++ -Standard Library Technical Report.) +Library, in the hopes of establishing "existing practice" for +extensions and providing reference implementations so that the Boost +libraries are suitable for eventual standardization. (Some of the +libraries have already been proposed for inclusion in the C++ +Standards Committee's upcoming C++ Standard Library Technical Report.) %package devel Summary: The Boost C++ headers and development libraries @@ -57,10 +58,12 @@ rm -rf $RPM_BUILD_ROOT %patch1 -p0 %patch2 -p0 %patch3 -p0 +%patch4 -p0 %build #build bjam (cd tools/build/jam_src && ./build.sh) + #build boost with bjam BJAM=`find tools/build/jam_src/ -name bjam -a -type f` PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]') @@ -68,6 +71,23 @@ PYTHON_FLAGS="-sPYTHON_ROOT=/usr -sPYTHON_VERSION=$PYTHON_VERSION" #$BJAM $PYTHON_FLAGS "-sTOOLS=gcc" "-sBUILD=release 1" stage $BJAM $PYTHON_FLAGS "-sTOOLS=gcc" "-sBUILD=release" stage +#run tests +BOOST_ROOT=`pwd`; +cd tools/regression; +(cd ./build && $BOOST_ROOT/$BJAM) +chmod +x ./run_tests.sh; +./run_tests.sh; +results1=$BOOST_ROOT/status/results.html +results2=$BOOST_ROOT/status/results-links.html +if [ -e $results1 ]; then + testdate=`date +%Y%m%d`; + testarch=`uname -m`; + mail -s "$testdate boost regression $testarch 1" bkoz@redhat.com < $results1; + mail -s "$testdate boost regression $testarch 2" bkoz@redhat.com < $results2; +fi +cd ../..; + + %install mkdir -p $RPM_BUILD_ROOT%{_libdir} mkdir -p $RPM_BUILD_ROOT%{_includedir} @@ -130,6 +150,10 @@ rm -rf $RPM_BUILD_ROOT %{_docdir}/boost-%{version} %changelog +* Mon Nov 14 2005 Benjamin Kosnik 1.33.1-1 +- Update to boost-1.33.1 beta. +- Run testsuite, gather results. + * Tue Oct 11 2005 Nils Philippsen 1.33.0-4 - build require bzip2-devel and zlib-devel diff --git a/sources b/sources index b146cb5..88c945a 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 56fafc275dc0e195ec2f27e8769482cc boost_1_33_0.tar.bz2 +74785688e823771402cfa5753fe95b8a boost-1.33.1.20051114.tar.bz2