]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/fiber/build/Jamfile.v2
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / fiber / build / Jamfile.v2
1 # Boost.Fiber Library Build Jamfile
2
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)
7
8 import feature ;
9 import modules ;
10 import testing ;
11 import toolset ;
12 import ../../config/checks/config : requires ;
13
14 project boost/fiber
15 : requirements
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
26 <threading>multi
27 : usage-requirements
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
32 ;
33
34 alias numa_sources
35 : numa/aix/pin_thread.cpp
36 numa/aix/topology.cpp
37 : <target-os>aix
38 ;
39
40 alias numa_sources
41 : numa/freebsd/pin_thread.cpp
42 numa/freebsd/topology.cpp
43 : <target-os>freebsd
44 ;
45
46 alias numa_sources
47 : numa/hpux/pin_thread.cpp
48 numa/hpux/topology.cpp
49 : <target-os>hpux
50 ;
51
52 alias numa_sources
53 : numa/linux/pin_thread.cpp
54 numa/linux/topology.cpp
55 : <target-os>linux
56 ;
57
58 alias numa_sources
59 : numa/solaris/pin_thread.cpp
60 numa/solaris/topology.cpp
61 : <target-os>solaris
62 ;
63
64 alias numa_sources
65 : numa/windows/pin_thread.cpp
66 numa/windows/topology.cpp
67 : <target-os>windows
68 ;
69
70 alias numa_sources
71 : numa/pin_thread.cpp
72 numa/topology.cpp
73 ;
74
75 explicit numa_sources ;
76
77 lib boost_fiber
78 : numa_sources
79 algo/algorithm.cpp
80 algo/round_robin.cpp
81 algo/shared_work.cpp
82 algo/work_stealing.cpp
83 algo/numa/work_stealing.cpp
84 barrier.cpp
85 condition_variable.cpp
86 context.cpp
87 fiber.cpp
88 future.cpp
89 mutex.cpp
90 properties.cpp
91 recursive_mutex.cpp
92 recursive_timed_mutex.cpp
93 timed_mutex.cpp
94 scheduler.cpp
95 : <link>shared:<library>../../context/build//boost_context
96 [ requires cxx11_auto_declarations
97 cxx11_constexpr
98 cxx11_defaulted_functions
99 cxx11_final
100 cxx11_hdr_mutex
101 cxx11_hdr_regex
102 cxx11_hdr_tuple
103 cxx11_lambdas
104 cxx11_noexcept
105 cxx11_nullptr
106 cxx11_rvalue_references
107 cxx11_template_aliases
108 cxx11_thread_local
109 cxx11_variadic_templates ]
110 ;
111
112 boost-install boost_fiber ;