Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74902 - in trunk/libs/chrono: build test
From: vicente.botet_at_[hidden]
Date: 2011-10-10 15:57:58


Author: viboes
Date: 2011-10-10 15:57:57 EDT (Mon, 10 Oct 2011)
New Revision: 74902
URL: http://svn.boost.org/trac/boost/changeset/74902

Log:
Chrono: try to solve issue building Boost.Chrono with <threading>single
Text files modified:
   trunk/libs/chrono/build/Jamfile.v2 | 8 ++++----
   trunk/libs/chrono/test/Jamfile.v2 | 7 ++++---
   2 files changed, 8 insertions(+), 7 deletions(-)

Modified: trunk/libs/chrono/build/Jamfile.v2
==============================================================================
--- trunk/libs/chrono/build/Jamfile.v2 (original)
+++ trunk/libs/chrono/build/Jamfile.v2 2011-10-10 15:57:57 EDT (Mon, 10 Oct 2011)
@@ -10,10 +10,10 @@
 project boost/chrono
     : source-location ../src
     : requirements
- <target-os>freebsd:<threading>multi
- <target-os>linux:<threading>multi
- <toolset>pgi:<threading>multi
- <threading>single:<define>BOOST_CHRONO_THREAD_DISABLED
+ <target-os>freebsd:<linkflags>"-lrt"
+ <target-os>linux:<linkflags>"-lrt"
+ <toolset>pgi:<linkflags>"-lrt"
+ #<threading>single:<define>BOOST_CHRONO_THREAD_DISABLED
         <library>/boost/system//boost_system
         #<define>BOOST_SYSTEM_INLINED
         #<define>BOOST_COMMON_TYPE_USES_STATIC_ASSERT

Modified: trunk/libs/chrono/test/Jamfile.v2
==============================================================================
--- trunk/libs/chrono/test/Jamfile.v2 (original)
+++ trunk/libs/chrono/test/Jamfile.v2 2011-10-10 15:57:57 EDT (Mon, 10 Oct 2011)
@@ -13,9 +13,10 @@
 
 project
     : requirements
- <target-os>freebsd:<threading>multi
- <target-os>linux:<threading>multi
- <toolset>pgi:<threading>multi
+ <target-os>freebsd:<linkflags>"-lrt"
+ <target-os>linux:<linkflags>"-lrt"
+ <toolset>pgi:<linkflags>"-lrt"
+ #<threading>single:<define>BOOST_CHRONO_THREAD_DISABLED
         <toolset>msvc:<asynch-exceptions>on
         <define>BOOST_CHRONO_USES_MPL_ASSERT
         <define>BOOST_SYSTEM_NO_DEPRECATED


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