-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
290 lines (287 loc) · 10.5 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
// Test
[
{ "config": {
"component": "boost",
"component_root": "boost",
"licenses": [ "http://opensource.org/licenses/BSL-1.0" ]
} },
{ "gen_sh": {
"name": "boost_gen",
"build_cmd": "toolset=\"clang\"; [ \"$CXX_GCC\" = 1 ] && toolset=gcc; ./bootstrap.sh && ./b2 toolset=\"$toolset\" cflags=\"-O3 $BASIC_CFLAGS\" cxxflags=\"-O3 $BASIC_CXXFLAGS\" threading=multi linkflags=\"$LDFLAGS\" -j8 --stagedir=\"$GEN_DIR\" && ([ ! -e $GEN_DIR/include ] && ln -f -s $(pwd) $GEN_DIR/include || echo -n '')",
"clean": "./b2 clean",
"outs": [ "$GEN_DIR/lib/libboost_atomic.a",
"$GEN_DIR/lib/libboost_chrono.a",
"$GEN_DIR/lib/libboost_context.a",
"$GEN_DIR/lib/libboost_coroutine.a",
"$GEN_DIR/lib/libboost_date_time.a",
"$GEN_DIR/lib/libboost_exception.a",
"$GEN_DIR/lib/libboost_filesystem.a",
"$GEN_DIR/lib/libboost_graph.a",
"$GEN_DIR/lib/libboost_iostreams.a",
"$GEN_DIR/lib/libboost_log.a",
"$GEN_DIR/lib/libboost_log_setup.a",
"$GEN_DIR/lib/libboost_math_c99.a",
"$GEN_DIR/lib/libboost_math_c99f.a",
"$GEN_DIR/lib/libboost_math_c99l.a",
"$GEN_DIR/lib/libboost_math_tr1.a",
"$GEN_DIR/lib/libboost_math_tr1f.a",
"$GEN_DIR/lib/libboost_math_tr1l.a",
"$GEN_DIR/lib/libboost_prg_exec_monitor.a",
"$GEN_DIR/lib/libboost_program_options.a",
"$GEN_DIR/lib/libboost_python.a",
"$GEN_DIR/lib/libboost_random.a",
"$GEN_DIR/lib/libboost_regex.a",
"$GEN_DIR/lib/libboost_serialization.a",
"$GEN_DIR/lib/libboost_signals.a",
"$GEN_DIR/lib/libboost_system.a",
"$GEN_DIR/lib/libboost_test_exec_monitor.a",
"$GEN_DIR/lib/libboost_thread.a",
"$GEN_DIR/lib/libboost_timer.a",
"$GEN_DIR/lib/libboost_unit_test_framework.a",
"$GEN_DIR/lib/libboost_wave.a",
"$GEN_DIR/lib/libboost_wserialization.a"
],
"env" : {
"BOOST_ROOT" : "$GEN_DIR",
"BOOST_INCLUDEDIR" : "$SRC_DIR",
"BOOST_LIBDIR" : "$GEN_DIR/lib"
}
} },
{ "cc_library": {
"name": "boost_headers"
// Unless you are developing boost, you don't need this. Commented out
// for speed.
//"cc_headers": [ "boost/*.hpp",
// "boost/*/*.hpp",
// "boost/*/*/*.hpp",
// "boost/*/*/*/*.hpp",
// "boost/*/*/*/*/*.hpp",
// "boost/*/*/*/*/*/*.hpp",
// "boost/*/*/*/*/*/*/*.hpp",
// "boost/*/*/*/*/*/*/*/*.hpp"
//]
} },
{ "cc_library": {
"name": "atomic",
"cc_objects": [ "$GEN_DIR/lib/libboost_atomic.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "chrono",
"cc_objects": [ "$GEN_DIR/lib/libboost_chrono.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "context",
"cc_objects": [ "$GEN_DIR/lib/libboost_context.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "coroutine",
"cc_objects": [ "$GEN_DIR/lib/libboost_coroutine.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "date_time",
"cc_objects": [ "$GEN_DIR/lib/libboost_date_time.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "exception",
"cc_objects": [ "$GEN_DIR/lib/libboost_exception.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "filesystem",
"cc_objects": [ "$GEN_DIR/lib/libboost_filesystem.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "graph",
"cc_objects": [ "$GEN_DIR/lib/libboost_graph.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "iostreams",
"cc_objects": [ "$GEN_DIR/lib/libboost_iostreams.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "log",
"cc_objects": [ "$GEN_DIR/lib/libboost_log.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "log_setup",
"cc_objects": [ "$GEN_DIR/lib/libboost_log_setup.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "math_c99",
"cc_objects": [ "$GEN_DIR/lib/libboost_math_c99.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "math_c99f",
"cc_objects": [ "$GEN_DIR/lib/libboost_math_c99f.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "math_c99l",
"cc_objects": [ "$GEN_DIR/lib/libboost_math_c99l.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "math_tr1",
"cc_objects": [ "$GEN_DIR/lib/libboost_math_tr1.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "math_tr1f",
"cc_objects": [ "$GEN_DIR/lib/libboost_math_tr1f.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "math_tr1l",
"cc_objects": [ "$GEN_DIR/lib/libboost_math_tr1l.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "prg_exec_monitor",
"cc_objects": [ "$GEN_DIR/lib/libboost_prg_exec_monitor.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "program_options",
"cc_objects": [ "$GEN_DIR/lib/libboost_program_options.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "python",
"cc_objects": [ "$GEN_DIR/lib/libboost_python.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "random",
"cc_objects": [ "$GEN_DIR/lib/libboost_random.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "regex",
"cc_objects": [ "$GEN_DIR/lib/libboost_regex.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "serialization",
"cc_objects": [ "$GEN_DIR/lib/libboost_serialization.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "signals",
"cc_objects": [ "$GEN_DIR/lib/libboost_signals.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "system",
"cc_objects": [ "$GEN_DIR/lib/libboost_system.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "test_exec_monitor",
"cc_objects": [ "$GEN_DIR/lib/libboost_test_exec_monitor.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "thread",
"cc_objects": [ "$GEN_DIR/lib/libboost_thread.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "timer",
"cc_objects": [ "$GEN_DIR/lib/libboost_timer.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "unit_test_framework",
"cc_objects": [ "$GEN_DIR/lib/libboost_unit_test_framework.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "wave",
"cc_objects": [ "$GEN_DIR/lib/libboost_wave.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "wserialization",
"cc_objects": [ "$GEN_DIR/lib/libboost_wserialization.a" ],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} },
{ "cc_library": {
"name": "boost",
"cc_objects": [ "$GEN_DIR/lib/libboost_atomic.a",
"$GEN_DIR/lib/libboost_chrono.a",
"$GEN_DIR/lib/libboost_context.a",
"$GEN_DIR/lib/libboost_coroutine.a",
"$GEN_DIR/lib/libboost_date_time.a",
"$GEN_DIR/lib/libboost_exception.a",
"$GEN_DIR/lib/libboost_filesystem.a",
"$GEN_DIR/lib/libboost_graph.a",
"$GEN_DIR/lib/libboost_iostreams.a",
"$GEN_DIR/lib/libboost_log.a",
"$GEN_DIR/lib/libboost_log_setup.a",
"$GEN_DIR/lib/libboost_math_c99.a",
"$GEN_DIR/lib/libboost_math_c99f.a",
"$GEN_DIR/lib/libboost_math_c99l.a",
"$GEN_DIR/lib/libboost_math_tr1.a",
"$GEN_DIR/lib/libboost_math_tr1f.a",
"$GEN_DIR/lib/libboost_math_tr1l.a",
"$GEN_DIR/lib/libboost_prg_exec_monitor.a",
"$GEN_DIR/lib/libboost_program_options.a",
"$GEN_DIR/lib/libboost_python.a",
"$GEN_DIR/lib/libboost_random.a",
"$GEN_DIR/lib/libboost_regex.a",
"$GEN_DIR/lib/libboost_serialization.a",
"$GEN_DIR/lib/libboost_signals.a",
"$GEN_DIR/lib/libboost_system.a",
"$GEN_DIR/lib/libboost_test_exec_monitor.a",
"$GEN_DIR/lib/libboost_thread.a",
"$GEN_DIR/lib/libboost_timer.a",
"$GEN_DIR/lib/libboost_unit_test_framework.a",
"$GEN_DIR/lib/libboost_wave.a",
"$GEN_DIR/lib/libboost_wserialization.a"
],
"strict_file_mode": false,
"dependencies": [ ":boost_gen", ":boost_headers" ]
} }
]