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 ;
16 <library>/boost/context//boost_context
17 <library>/boost/filesystem//boost_filesystem
18 <target-os>solaris:<linkflags>"-llgrp"
19 <target-os>windows:<define>_WIN32_WINNT=0x0601
20 <toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
21 <toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
22 <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack
23 <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
24 <link>shared:<define>BOOST_FIBERS_DYN_LINK=1
25 <define>BOOST_FIBERS_SOURCE
28 <link>shared:<define>BOOST_FIBERS_DYN_LINK=1
29 <optimization>speed:<define>BOOST_DISABLE_ASSERTS
30 <variant>release:<define>BOOST_DISABLE_ASSERTS
31 : source-location ../src
35 : numa/aix/pin_thread.cpp
41 : numa/freebsd/pin_thread.cpp
42 numa/freebsd/topology.cpp
47 : numa/hpux/pin_thread.cpp
48 numa/hpux/topology.cpp
53 : numa/linux/pin_thread.cpp
54 numa/linux/topology.cpp
59 : numa/solaris/pin_thread.cpp
60 numa/solaris/topology.cpp
65 : numa/windows/pin_thread.cpp
66 numa/windows/topology.cpp
75 explicit numa_sources ;
82 algo/work_stealing.cpp
83 algo/numa/work_stealing.cpp
85 condition_variable.cpp
92 recursive_timed_mutex.cpp
95 : <link>shared:<library>../../context/build//boost_context
96 [ requires cxx11_auto_declarations
98 cxx11_defaulted_functions
106 cxx11_rvalue_references
107 cxx11_template_aliases
109 cxx11_variadic_templates ]
112 boost-install boost_fiber ;