Boost logo

Boost-Build :

From: Michael Stevens (Michael.Stevens_at_[hidden])
Date: 2004-06-04 04:16:21


Hi Volodya,

On Friday 04 June 2004 08:28, Vladimir Prus wrote:
> > I have a set of Jamfile.v2 for uBLAS if you would like. These provide the
> > same tests as the existing regression tests for v1.
> > I cannot add them myself to Boost CVS so I will have to email them as a
> > patch.
>
> Yes, please!
I have a attached a diff that should add all the necessary files to
libs/numeric/uBLAS. If you are in your Boost root directory then
patch -p2 <BBv2.diff
should do the job.

Their operation should replace the existing 'test-suite ublas'
in status/Jamefile.v2
The only difference is the additional test7 (which currently fails for the
code in boost CVS) and the "-Xc" option for <toolset>intel.

I can't test if the latter option is accepted by intel-win so maybe this
should be <toolset>intel-linux. However I set this in the project
requirements then the flag does not appear when compiling. I have not looked
further into this bug however.

The 'build-project testX' lines may be unnecessary but previously I
experienced some (can't exactly remember the details) problems without them!

Michael
 --Boundary-00=_l3DwAYVKV41wxgS Content-Type: text/x-diff;
charset="iso-8859-1";
name="BBv2.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="BBv2.diff"

diff -U 3 -H -d -r -N -- libs/numeric/ublas/Jamfile.v2 ../uBLAS/libs/numeric/ublas/Jamfile.v2
--- libs/numeric/ublas/Jamfile.v2 1970-01-01 01:00:00.000000000 +0100
+++ ../uBLAS/libs/numeric/ublas/Jamfile.v2 2004-06-04 10:38:36.531919589 +0200
@@ -0,0 +1,41 @@
+# Copyright Michael Stevens 2004
+
+# Use, modification, and distribution is subject to the Boost Software
+# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+# bring in rules for testing
+
+# Boost uBLAS library project and testing Jamfile
+
+import testing ;
+
+# Project requirements
+project ublastest
+ : requirements
+ <define>BOOST_UBLAS_SAFE
+ <define>USE_RANGE
+ <define>USE_ADAPTOR
+ <toolset>intel:<cxxflags>"-Xc" # Strict mode
+ <toolset>borland:<cxxflags>"-w-8026 -w-8027 -w-8057 -w-8084 -w-8092"
+ <toolset>kylix:<cxxflags>"-w-8026 -w-8027 -w-8057 -w-8084 -w-8092"
+ ;
+
+build-project test1 ;
+build-project test2 ;
+build-project test3 ;
+build-project test4 ;
+build-project test5 ;
+build-project test6 ;
+build-project test7 ;
+
+
+test-suite "uBLAS"
+ : [ compile concepts.cpp ]
+ [ run test1 ]
+ [ run test2 ]
+ [ run test3 ]
+ [ run test4 ]
+ [ run test5 ]
+ [ run test6 ]
+ [ run test7 ]
+ ;
diff -U 3 -H -d -r -N -- libs/numeric/ublas/bench1/Jamfile.v2 ../uBLAS/libs/numeric/ublas/bench1/Jamfile.v2
--- libs/numeric/ublas/bench1/Jamfile.v2 1970-01-01 01:00:00.000000000 +0100
+++ ../uBLAS/libs/numeric/ublas/bench1/Jamfile.v2 2004-06-04 10:44:48.801595509 +0200
@@ -0,0 +1,10 @@
+# Copyright Michael Stevens 2004
+
+# Use, modification, and distribution is subject to the Boost Software
+# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+# bring in rules for testing
+
+exe bench1
+ : bench1.cpp bench11.cpp bench12.cpp bench13.cpp
+ ;
diff -U 3 -H -d -r -N -- libs/numeric/ublas/bench2/Jamfile.v2 ../uBLAS/libs/numeric/ublas/bench2/Jamfile.v2
--- libs/numeric/ublas/bench2/Jamfile.v2 1970-01-01 01:00:00.000000000 +0100
+++ ../uBLAS/libs/numeric/ublas/bench2/Jamfile.v2 2004-06-04 09:23:24.000000000 +0200
@@ -0,0 +1,10 @@
+# Copyright Michael Stevens 2004
+
+# Use, modification, and distribution is subject to the Boost Software
+# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+# bring in rules for testing
+
+exe bench2
+ : bench2.cpp bench21.cpp bench22.cpp bench23.cpp
+ ;
diff -U 3 -H -d -r -N -- libs/numeric/ublas/bench3/Jamfile.v2 ../uBLAS/libs/numeric/ublas/bench3/Jamfile.v2
--- libs/numeric/ublas/bench3/Jamfile.v2 1970-01-01 01:00:00.000000000 +0100
+++ ../uBLAS/libs/numeric/ublas/bench3/Jamfile.v2 2004-06-04 09:23:05.000000000 +0200
@@ -0,0 +1,10 @@
+# Copyright Michael Stevens 2004
+
+# Use, modification, and distribution is subject to the Boost Software
+# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+# bring in rules for testing
+
+exe bench3
+ : bench3.cpp bench31.cpp bench32.cpp bench33.cpp
+ ;
diff -U 3 -H -d -r -N -- libs/numeric/ublas/bench4/Jamfile.v2 ../uBLAS/libs/numeric/ublas/bench4/Jamfile.v2
--- libs/numeric/ublas/bench4/Jamfile.v2 1970-01-01 01:00:00.000000000 +0100
+++ ../uBLAS/libs/numeric/ublas/bench4/Jamfile.v2 2004-06-04 09:22:43.000000000 +0200
@@ -0,0 +1,11 @@
+# Copyright Michael Stevens 2004
+
+# Use, modification, and distribution is subject to the Boost Software
+# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+# bring in rules for testing
+
+exe bench4
+ : bench4.cpp bench41.cpp bench42.cpp bench43.cpp
+ : <define>BOOST_UBLAS_USE_INTERVAL
+ ;
diff -U 3 -H -d -r -N -- libs/numeric/ublas/test1/Jamfile.v2 ../uBLAS/libs/numeric/ublas/test1/Jamfile.v2
--- libs/numeric/ublas/test1/Jamfile.v2 1970-01-01 01:00:00.000000000 +0100
+++ ../uBLAS/libs/numeric/ublas/test1/Jamfile.v2 2004-06-04 09:22:07.000000000 +0200
@@ -0,0 +1,10 @@
+# Copyright Michael Stevens 2004
+
+# Use, modification, and distribution is subject to the Boost Software
+# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+# bring in rules for testing
+
+exe test1
+ : test1.cpp test11.cpp test12.cpp test13.cpp
+ ;
diff -U 3 -H -d -r -N -- libs/numeric/ublas/test2/Jamfile.v2 ../uBLAS/libs/numeric/ublas/test2/Jamfile.v2
--- libs/numeric/ublas/test2/Jamfile.v2 1970-01-01 01:00:00.000000000 +0100
+++ ../uBLAS/libs/numeric/ublas/test2/Jamfile.v2 2004-06-04 09:21:40.000000000 +0200
@@ -0,0 +1,10 @@
+# Copyright Michael Stevens 2004
+
+# Use, modification, and distribution is subject to the Boost Software
+# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+# bring in rules for testing
+
+exe test2
+ : test2.cpp test21.cpp test22.cpp test23.cpp
+ ;
diff -U 3 -H -d -r -N -- libs/numeric/ublas/test3/Jamfile.v2 ../uBLAS/libs/numeric/ublas/test3/Jamfile.v2
--- libs/numeric/ublas/test3/Jamfile.v2 1970-01-01 01:00:00.000000000 +0100
+++ ../uBLAS/libs/numeric/ublas/test3/Jamfile.v2 2004-06-04 09:21:10.000000000 +0200
@@ -0,0 +1,10 @@
+# Copyright Michael Stevens 2004
+
+# Use, modification, and distribution is subject to the Boost Software
+# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+# bring in rules for testing
+
+exe test3
+ : test3.cpp test31.cpp test32.cpp test33.cpp
+ ;
diff -U 3 -H -d -r -N -- libs/numeric/ublas/test4/Jamfile.v2 ../uBLAS/libs/numeric/ublas/test4/Jamfile.v2
--- libs/numeric/ublas/test4/Jamfile.v2 1970-01-01 01:00:00.000000000 +0100
+++ ../uBLAS/libs/numeric/ublas/test4/Jamfile.v2 2004-06-04 09:20:46.000000000 +0200
@@ -0,0 +1,10 @@
+# Copyright Michael Stevens 2004
+
+# Use, modification, and distribution is subject to the Boost Software
+# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+# bring in rules for testing
+
+exe test4
+ : test4.cpp test41.cpp test42.cpp test43.cpp
+;
diff -U 3 -H -d -r -N -- libs/numeric/ublas/test5/Jamfile.v2 ../uBLAS/libs/numeric/ublas/test5/Jamfile.v2
--- libs/numeric/ublas/test5/Jamfile.v2 1970-01-01 01:00:00.000000000 +0100
+++ ../uBLAS/libs/numeric/ublas/test5/Jamfile.v2 2004-06-04 09:20:19.000000000 +0200
@@ -0,0 +1,10 @@
+# Copyright Michael Stevens 2004
+
+# Use, modification, and distribution is subject to the Boost Software
+# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+# bring in rules for testing
+
+exe test5
+ : test5.cpp test51.cpp test52.cpp test53.cpp
+ ;
diff -U 3 -H -d -r -N -- libs/numeric/ublas/test6/Jamfile.v2 ../uBLAS/libs/numeric/ublas/test6/Jamfile.v2
--- libs/numeric/ublas/test6/Jamfile.v2 1970-01-01 01:00:00.000000000 +0100
+++ ../uBLAS/libs/numeric/ublas/test6/Jamfile.v2 2004-06-04 09:19:53.000000000 +0200
@@ -0,0 +1,10 @@
+# Copyright Michael Stevens 2004
+
+# Use, modification, and distribution is subject to the Boost Software
+# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+# bring in rules for testing
+
+exe test6
+ : test6.cpp test61.cpp test62.cpp test63.cpp
+ ;
diff -U 3 -H -d -r -N -- libs/numeric/ublas/test7/Jamfile.v2 ../uBLAS/libs/numeric/ublas/test7/Jamfile.v2
--- libs/numeric/ublas/test7/Jamfile.v2 1970-01-01 01:00:00.000000000 +0100
+++ ../uBLAS/libs/numeric/ublas/test7/Jamfile.v2 2004-06-04 09:38:27.000000000 +0200
@@ -0,0 +1,11 @@
+# Copyright Michael Stevens 2004
+
+# Use, modification, and distribution is subject to the Boost Software
+# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+# bring in rules for testing
+
+exe test7
+ : test7.cpp test71.cpp test72.cpp test73.cpp
+ : <define>BOOST_UBLAS_USE_INTERVAL
+ ;
 --Boundary-00=_l3DwAYVKV41wxgS--


Boost-Build 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