<toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
<link>static
<threading>multi
- <optimization>speed
- <variant>release
;
-rule configure-impl ( properties * )
+rule native-impl ( properties * )
{
local result ;
- if ( ! ( <target-os>windows in $(properties) ) )
+ if ( <target-os>darwin in $(properties) || <target-os>android in $(properties) )
+ {
+ result = <build>no ;
+ }
+ else if ( ! ( <target-os>windows in $(properties) ) )
{
result = <context-impl>ucontext ;
}
cxx11_thread_local
cxx11_variadic_templates ] ]
-[ run test_callcc.cpp :
+[ run test_fiber.cpp :
: :
<context-impl>fcontext
[ requires cxx11_auto_declarations
cxx11_template_aliases
cxx11_thread_local
cxx11_variadic_templates ]
- : test_callcc_asm ]
+ : test_fiber_asm ]
-[ run test_callcc.cpp :
+[ run test_fiber.cpp :
: :
- <conditional>@configure-impl
+ <conditional>@native-impl
[ requires cxx11_auto_declarations
cxx11_constexpr
cxx11_defaulted_functions
cxx11_template_aliases
cxx11_thread_local
cxx11_variadic_templates ]
- : test_call_native ] ;
-
-
+ : test_fiber_native ]
-test-suite full :
- minimal ;
+[ run test_callcc.cpp :
+ : :
+ <context-impl>fcontext
+ [ requires cxx11_auto_declarations
+ cxx11_constexpr
+ cxx11_defaulted_functions
+ cxx11_final
+ cxx11_hdr_thread
+ cxx11_hdr_tuple
+ cxx11_lambdas
+ cxx11_noexcept
+ cxx11_nullptr
+ cxx11_rvalue_references
+ cxx11_template_aliases
+ cxx11_thread_local
+ cxx11_variadic_templates ]
+ : test_callcc_asm ]
-test-suite fc :
-[ run test_fcontext.cpp :
+[ run test_callcc.cpp :
: :
- ] ;
+ <conditional>@native-impl
+ [ requires cxx11_auto_declarations
+ cxx11_constexpr
+ cxx11_defaulted_functions
+ cxx11_final
+ cxx11_hdr_thread
+ cxx11_hdr_tuple
+ cxx11_lambdas
+ cxx11_noexcept
+ cxx11_nullptr
+ cxx11_rvalue_references
+ cxx11_template_aliases
+ cxx11_thread_local
+ cxx11_variadic_templates ]
+ : test_callcc_native ]
-test-suite ec :
-[ run test_execution_context.cpp :
+[ run test_execution_context_v2.cpp :
: :
[ requires cxx11_auto_declarations
cxx11_constexpr
cxx11_thread_local
cxx11_variadic_templates ] ] ;
+
+
+test-suite full :
+ minimal ;
+
+test-suite fc :
+[ run test_fcontext.cpp :
+ : :
+ ] ;
+
explicit minimal ;
explicit fc ;
-explicit ec ;