1 # Boost.Fiber Library Build Jamfile
3 # Copyright Oliver Kowalke 2013.
4 # Distributed under the Boost Software License, Version 1.0.
5 # (See accompanying file LICENSE_1_0.txt or copy at
6 # http://www.boost.org/LICENSE_1_0.txt)
12 import ../../config/checks/config : requires ;
14 feature.feature numa : on : optional propagated composite ;
15 feature.compose <numa>on : <define>BOOST_USE_NUMA ;
19 <library>/boost/context//boost_context
20 <library>/boost/filesystem//boost_filesystem
21 <target-os>solaris:<linkflags>"-llgrp"
22 <target-os>windows:<define>_WIN32_WINNT=0x0601
23 <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
24 <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
25 <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack
26 <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
27 <link>shared:<define>BOOST_FIBERS_DYN_LINK=1
28 <define>BOOST_FIBERS_SOURCE
31 <link>shared:<define>BOOST_FIBERS_DYN_LINK=1
32 <optimization>speed:<define>BOOST_DISABLE_ASSERTS
33 <variant>release:<define>BOOST_DISABLE_ASSERTS
34 : source-location ../src
37 rule numa ( properties * )
40 if ( <numa>on in $(properties) )
55 algo/work_stealing.cpp
57 condition_variable.cpp
65 recursive_timed_mutex.cpp
68 : <link>shared:<library>../../context/build//boost_context
69 [ requires cxx11_auto_declarations
71 cxx11_defaulted_functions
78 cxx11_rvalue_references
79 cxx11_template_aliases
81 cxx11_variadic_templates ]
86 : numa/aix/pin_thread.cpp
92 : numa/freebsd/pin_thread.cpp
93 numa/freebsd/topology.cpp
98 : numa/hpux/pin_thread.cpp
99 numa/hpux/topology.cpp
104 : numa/linux/pin_thread.cpp
105 numa/linux/topology.cpp
110 : numa/solaris/pin_thread.cpp
111 numa/solaris/topology.cpp
116 : numa/windows/pin_thread.cpp
117 numa/windows/topology.cpp
122 : numa/pin_thread.cpp
126 explicit numa_sources ;
130 numa/algo/work_stealing.cpp
134 [ requires cxx11_auto_declarations
136 cxx11_defaulted_functions
143 cxx11_rvalue_references
144 cxx11_template_aliases
146 cxx11_variadic_templates ]
150 boost-install boost_fiber boost_fiber_numa ;