Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61300 - in trunk/libs/math: build config test
From: john_at_[hidden]
Date: 2010-04-15 12:05:41


Author: johnmaddock
Date: 2010-04-15 12:05:39 EDT (Thu, 15 Apr 2010)
New Revision: 61300
URL: http://svn.boost.org/trac/boost/changeset/61300

Log:
Add Boost.Build configuration support.
Text files modified:
   trunk/libs/math/build/Jamfile.v2 | 4 ++--
   trunk/libs/math/config/Jamfile.v2 | 4 +++-
   trunk/libs/math/test/Jamfile.v2 | 6 +++---
   3 files changed, 8 insertions(+), 6 deletions(-)

Modified: trunk/libs/math/build/Jamfile.v2
==============================================================================
--- trunk/libs/math/build/Jamfile.v2 (original)
+++ trunk/libs/math/build/Jamfile.v2 2010-04-15 12:05:39 EDT (Thu, 15 Apr 2010)
@@ -92,7 +92,7 @@
          <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
          <dependency>../config//has_long_double_support
          <include>../src/tr1
- [ check-target-builds long_double_check : : <build>no ]
+ [ check-target-builds ../config//has_long_double_support : : <build>no ]
    ;
 
 lib boost_math_c99 : ../src/tr1/$(C99_SOURCES).cpp pch
@@ -112,7 +112,7 @@
          <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
          <dependency>../config//has_long_double_support
          <include>../src/tr1
- [ check-target-builds long_double_check : : <build>no ]
+ [ check-target-builds ../config//has_long_double_support : : <build>no ]
    ;
 
 boost-install boost_math_c99 boost_math_c99f boost_math_c99l boost_math_tr1 boost_math_tr1f boost_math_tr1l ;

Modified: trunk/libs/math/config/Jamfile.v2
==============================================================================
--- trunk/libs/math/config/Jamfile.v2 (original)
+++ trunk/libs/math/config/Jamfile.v2 2010-04-15 12:05:39 EDT (Thu, 15 Apr 2010)
@@ -14,7 +14,9 @@
       <include>$(gmp_path) <include>$(gmp_path)/mpfr <include>$(gmp_path)/gmpfrxx ;
 obj has_ntl_rr : has_ntl_rr.cpp : <include>$(ntl-path)/include ;
 
-
+explicit has_long_double_support ;
+explicit has_mpfr_class ;
+explicit has_ntl_rr ;
 
 
 

Modified: trunk/libs/math/test/Jamfile.v2
==============================================================================
--- trunk/libs/math/test/Jamfile.v2 (original)
+++ trunk/libs/math/test/Jamfile.v2 2010-04-15 12:05:39 EDT (Thu, 15 Apr 2010)
@@ -636,7 +636,7 @@
    ../../test/build//boost_test_exec_monitor
    : : :
    <define>TEST_LD=1
- <dependency>../config//has_long_double_support
+ [ check-target-builds ../config//has_long_double_support : : <build>no ]
    :
    test_tr1_long_double
    ;
@@ -750,8 +750,8 @@
 
 run complex_test.cpp ../../test/build//boost_test_exec_monitor ;
 
-compile ntl_concept_check.cpp : <dependency>../config//has_ntl_rr ;
-compile mpfr_concept_check.cpp : <dependency>../config//has_mpfr_class ;
+compile ntl_concept_check.cpp : [ check-target-builds ../config//has_ntl_rr : : <build>no ] ;
+compile mpfr_concept_check.cpp : [ check-target-builds ../config//has_mpfr_class : : <build>no ] ;
 
 build-project ../example ;
 


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