$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r82898 - in trunk/libs/coroutine: build doc example performance test
From: oliver.kowalke_at_[hidden]
Date: 2013-02-15 04:19:27
Author: olli
Date: 2013-02-15 04:19:26 EST (Fri, 15 Feb 2013)
New Revision: 82898
URL: http://svn.boost.org/trac/boost/changeset/82898
Log:
coroutine: introduction of property segmented-stacks
Text files modified: 
   trunk/libs/coroutine/build/Jamfile.v2       |     7 +++++--                                 
   trunk/libs/coroutine/doc/stack.qbk          |     6 +++---                                  
   trunk/libs/coroutine/example/Jamfile.v2     |     2 +-                                      
   trunk/libs/coroutine/performance/Jamfile.v2 |     2 +-                                      
   trunk/libs/coroutine/test/Jamfile.v2        |     2 +-                                      
   5 files changed, 11 insertions(+), 8 deletions(-)
Modified: trunk/libs/coroutine/build/Jamfile.v2
==============================================================================
--- trunk/libs/coroutine/build/Jamfile.v2	(original)
+++ trunk/libs/coroutine/build/Jamfile.v2	2013-02-15 04:19:26 EST (Fri, 15 Feb 2013)
@@ -8,11 +8,14 @@
 import modules ;
 import toolset ;
 
+feature.feature segmented-stacks : on : optional propagated composite ;
+feature.compose <segmented-stacks>on : <define>BOOST_USE_SEGMENTED_STACKS ;
+
 project boost/coroutine
     : requirements
       <library>/boost/context//boost_context
-#     <toolset>gcc-4.7:<cxxflags>-fsplit-stack
-#     <toolset>gcc-4.7:<linkflags>"-static-libgcc"
+      <toolset>gcc-4.7,<segmented-stacks>on:<cxxflags>-fsplit-stack
+      <toolset>gcc-4.7,<segmented-stacks>on:<linkflags>"-static-libgcc"
       <link>static
       <threading>multi
     : source-location ../src
Modified: trunk/libs/coroutine/doc/stack.qbk
==============================================================================
--- trunk/libs/coroutine/doc/stack.qbk	(original)
+++ trunk/libs/coroutine/doc/stack.qbk	2013-02-15 04:19:26 EST (Fri, 15 Feb 2013)
@@ -155,9 +155,9 @@
 
 Segmented stack are currently only supported by [*gcc] from version [*4.7] onwards.
 n order to use __segmented_stack__ compile __boost_coroutine__ with
-[*cxxflags="-fsplit-stack -DBOOST_USE_SEGMENTED_STACKS" linkflags="-static-libgcc"]
-at b2/bjam command-line and compile the application using __boost_coroutine__ with
-[*cxxflags="-fsplit-stack -DBOOST_USE_SEGMENTED_STACKS"].
+[*segmented-stacks=on] at b2/bjam command-line. Application using __boost_coroutine__
+with enabled __segmented-stack__ must be compiled with compiler-flags
+[*-fsplit-stack -DBOOST_USE_SEGMENTED_STACKS].
 
 [endsect]
 
Modified: trunk/libs/coroutine/example/Jamfile.v2
==============================================================================
--- trunk/libs/coroutine/example/Jamfile.v2	(original)
+++ trunk/libs/coroutine/example/Jamfile.v2	2013-02-15 04:19:26 EST (Fri, 15 Feb 2013)
@@ -35,7 +35,7 @@
       <library>/boost/program_options//boost_program_options
       <library>/boost/system//boost_system
       <library>/boost/thread//boost_thread
-#     <toolset>gcc-4.7:<cxxflags>-fsplit-stack
+      <toolset>gcc-4.7,<segmented-stacks>on:<cxxflags>-fsplit-stack
       <threading>multi
       <link>static
     ;
Modified: trunk/libs/coroutine/performance/Jamfile.v2
==============================================================================
--- trunk/libs/coroutine/performance/Jamfile.v2	(original)
+++ trunk/libs/coroutine/performance/Jamfile.v2	2013-02-15 04:19:26 EST (Fri, 15 Feb 2013)
@@ -17,7 +17,7 @@
     : requirements
       <library>/boost/context//boost_context
       <library>/boost/coroutine//boost_coroutine
-      <toolset>gcc-4.7.2:<cxxflags>-fsplit-stack
+      <toolset>gcc-4.7,<segmented-stacks>on:<cxxflags>-fsplit-stack
       <link>static
       <linkflags>"-lrt" 
       <threading>multi
Modified: trunk/libs/coroutine/test/Jamfile.v2
==============================================================================
--- trunk/libs/coroutine/test/Jamfile.v2	(original)
+++ trunk/libs/coroutine/test/Jamfile.v2	2013-02-15 04:19:26 EST (Fri, 15 Feb 2013)
@@ -18,7 +18,7 @@
       <library>../../test/build//boost_unit_test_framework
       <library>/boost/context//boost_context
       <library>/boost/coroutine//boost_coroutine
-#     <toolset>gcc-4.7:<cxxflags>-fsplit-stack
+      <toolset>gcc-4.7,<segmented-stacks>on:<cxxflags>-fsplit-stack
       <link>static
     ;