- Update to boost-1.33.1 beta.
- Run testsuite, gather results. -
This commit is contained in:
parent
cd073564a4
commit
7850836a71
@ -1 +1,2 @@
|
|||||||
boost_1_33_0.tar.bz2
|
boost_1_33_0.tar.bz2
|
||||||
|
boost-1.33.1.20051114.tar.bz2
|
||||||
|
54
boost-runtests.patch
Normal file
54
boost-runtests.patch
Normal file
@ -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
|
40
boost.spec
40
boost.spec
@ -1,9 +1,9 @@
|
|||||||
%define tarball_name boost_1_33_0
|
%define tarball_name boost-1.33.1.20051114
|
||||||
|
|
||||||
Name: boost
|
Name: boost
|
||||||
Summary: The Boost C++ Libraries
|
Summary: The Boost C++ Libraries
|
||||||
Version: 1.33.0
|
Version: 1.33.1
|
||||||
Release: 4
|
Release: 1
|
||||||
License: Boost Software License
|
License: Boost Software License
|
||||||
URL: http://www.boost.org/
|
URL: http://www.boost.org/
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -19,15 +19,16 @@ Patch0: boost-base.patch
|
|||||||
Patch1: boost-gcc-tools.patch
|
Patch1: boost-gcc-tools.patch
|
||||||
Patch2: boost-thread.patch
|
Patch2: boost-thread.patch
|
||||||
Patch3: boost-config-compiler-gcc.patch
|
Patch3: boost-config-compiler-gcc.patch
|
||||||
|
Patch4: boost-runtests.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Boost provides free peer-reviewed portable C++ source libraries. The
|
Boost provides free peer-reviewed portable C++ source libraries. The
|
||||||
emphasis is on libraries which work well with the C++ Standard
|
emphasis is on libraries which work well with the C++ Standard
|
||||||
Library. One goal is to establish "existing practice" and provide
|
Library, in the hopes of establishing "existing practice" for
|
||||||
reference implementations so that the Boost libraries are suitable for
|
extensions and providing reference implementations so that the Boost
|
||||||
eventual standardization. (Some of the libraries have already been
|
libraries are suitable for eventual standardization. (Some of the
|
||||||
proposed for inclusion in the C++ Standards Committee's upcoming C++
|
libraries have already been proposed for inclusion in the C++
|
||||||
Standard Library Technical Report.)
|
Standards Committee's upcoming C++ Standard Library Technical Report.)
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: The Boost C++ headers and development libraries
|
Summary: The Boost C++ headers and development libraries
|
||||||
@ -57,10 +58,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%patch1 -p0
|
%patch1 -p0
|
||||||
%patch2 -p0
|
%patch2 -p0
|
||||||
%patch3 -p0
|
%patch3 -p0
|
||||||
|
%patch4 -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#build bjam
|
#build bjam
|
||||||
(cd tools/build/jam_src && ./build.sh)
|
(cd tools/build/jam_src && ./build.sh)
|
||||||
|
|
||||||
#build boost with bjam
|
#build boost with bjam
|
||||||
BJAM=`find tools/build/jam_src/ -name bjam -a -type f`
|
BJAM=`find tools/build/jam_src/ -name bjam -a -type f`
|
||||||
PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
|
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 <dllversion>1" stage
|
#$BJAM $PYTHON_FLAGS "-sTOOLS=gcc" "-sBUILD=release <dllversion>1" stage
|
||||||
$BJAM $PYTHON_FLAGS "-sTOOLS=gcc" "-sBUILD=release" 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
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_includedir}
|
mkdir -p $RPM_BUILD_ROOT%{_includedir}
|
||||||
@ -130,6 +150,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_docdir}/boost-%{version}
|
%{_docdir}/boost-%{version}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 14 2005 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-1
|
||||||
|
- Update to boost-1.33.1 beta.
|
||||||
|
- Run testsuite, gather results.
|
||||||
|
|
||||||
* Tue Oct 11 2005 Nils Philippsen <nphilipp@redhat.com> 1.33.0-4
|
* Tue Oct 11 2005 Nils Philippsen <nphilipp@redhat.com> 1.33.0-4
|
||||||
- build require bzip2-devel and zlib-devel
|
- build require bzip2-devel and zlib-devel
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user