blob: 128954a677cda1e0797d7fc2fc30c3ecf335179b [file] [log] [blame]
Brian Silverman7b8899e2018-06-30 19:19:24 -07001# GENERATED FILE. DO NOT EDIT
2# Generated by tools/cpp/gen_crosstool.py
Brian Silverman12b3fc52015-10-11 19:38:33 -04003major_version: "local"
4minor_version: ""
5default_target_cpu: "same_as_host"
Brian Silverman12b3fc52015-10-11 19:38:33 -04006default_toolchain {
Austin Schuh23da18b2015-10-11 20:52:49 -07007 cpu: "roborio"
8 toolchain_identifier: "roborio_linux"
9}
Austin Schuh23da18b2015-10-11 20:52:49 -070010default_toolchain {
Brian Silverman12b3fc52015-10-11 19:38:33 -040011 cpu: "k8"
Austin Schuh23da18b2015-10-11 20:52:49 -070012 toolchain_identifier: "k8_linux"
Brian Silverman12b3fc52015-10-11 19:38:33 -040013}
Brian Silverman12b3fc52015-10-11 19:38:33 -040014default_toolchain {
15 cpu: "armeabi-v7a"
16 toolchain_identifier: "stub_armeabi-v7a"
17}
Brian Silverman0d57fc82016-01-24 21:02:53 -050018default_toolchain {
James Kuszmaul27da8142019-07-21 16:13:55 -070019 cpu: "web"
20 toolchain_identifier: "emscripten_toolchain"
21}
22default_toolchain {
Brian Silverman0d57fc82016-01-24 21:02:53 -050023 cpu: "armhf-debian"
24 toolchain_identifier: "clang_linux_armhf"
25}
Brian Silverman8b638692017-06-26 23:10:26 -070026default_toolchain {
27 cpu: "cortex-m4f"
28 toolchain_identifier: "cortex-m4f"
29}
Brian Silverman6c8b88b2018-09-03 18:17:02 -070030default_toolchain {
31 cpu: "cortex-m4f-k22"
32 toolchain_identifier: "cortex-m4f-k22"
33}
Brian Silverman12b3fc52015-10-11 19:38:33 -040034toolchain {
Brian Silverman7b8899e2018-06-30 19:19:24 -070035 toolchain_identifier: "stub_armeabi-v7a"
36 host_system_name: "armeabi-v7a"
37 target_system_name: "armeabi-v7a"
38 target_cpu: "armeabi-v7a"
39 target_libc: "armeabi-v7a"
40 compiler: "compiler"
Brian Silverman12b3fc52015-10-11 19:38:33 -040041 abi_version: "armeabi-v7a"
42 abi_libc_version: "armeabi-v7a"
Brian Silverman7b8899e2018-06-30 19:19:24 -070043 tool_path {
44 name: "ar"
45 path: "/bin/false"
46 }
47 tool_path {
48 name: "compat-ld"
49 path: "/bin/false"
50 }
51 tool_path {
52 name: "cpp"
53 path: "/bin/false"
54 }
55 tool_path {
56 name: "dwp"
57 path: "/bin/false"
58 }
59 tool_path {
60 name: "gcc"
61 path: "/bin/false"
62 }
63 tool_path {
64 name: "gcov"
65 path: "/bin/false"
66 }
67 tool_path {
68 name: "ld"
69 path: "/bin/false"
70 }
71 tool_path {
72 name: "nm"
73 path: "/bin/false"
74 }
75 tool_path {
76 name: "objcopy"
77 path: "/bin/false"
78 }
79 tool_path {
80 name: "objdump"
81 path: "/bin/false"
82 }
83 tool_path {
84 name: "strip"
85 path: "/bin/false"
86 }
Brian Silverman12b3fc52015-10-11 19:38:33 -040087 supports_gold_linker: false
Brian Silverman7b8899e2018-06-30 19:19:24 -070088 supports_thin_archives: false
89 needsPic: true
90 builtin_sysroot: ""
Brian Silverman12b3fc52015-10-11 19:38:33 -040091 supports_normalizing_ar: false
92 supports_start_end_lib: false
Brian Silverman7b8899e2018-06-30 19:19:24 -070093 supports_interface_shared_objects: false
94 supports_incremental_linker: false
95 supports_fission: false
Brian Silverman12b3fc52015-10-11 19:38:33 -040096}
Brian Silverman12b3fc52015-10-11 19:38:33 -040097toolchain {
Brian Silverman7b8899e2018-06-30 19:19:24 -070098 toolchain_identifier: "k8_linux"
99 host_system_name: "local"
100 target_system_name: "k8"
101 target_cpu: "k8"
102 target_libc: "local"
103 compiler: "clang"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400104 abi_version: "local"
105 abi_libc_version: "local"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700106 tool_path {
107 name: "ar"
108 path: "clang_3p6/x86_64-linux-gnu-ar"
109 }
110 tool_path {
111 name: "compat-ld"
112 path: "clang_3p6/x86_64-linux-gnu-ld"
113 }
114 tool_path {
115 name: "cpp"
116 path: "clang_3p6/x86_64-linux-gnu-cpp"
117 }
118 tool_path {
119 name: "dwp"
120 path: "clang_3p6/x86_64-linux-gnu-dwp"
121 }
122 tool_path {
123 name: "gcc"
124 path: "clang_3p6/x86_64-linux-gnu-clang-3.6"
125 }
126 tool_path {
127 name: "gcov"
128 path: "clang_3p6/x86_64-linux-gnu-gcov"
129 }
130 tool_path {
131 name: "ld"
132 path: "clang_3p6/x86_64-linux-gnu-ld"
133 }
134 tool_path {
135 name: "nm"
136 path: "clang_3p6/x86_64-linux-gnu-nm"
137 }
138 tool_path {
139 name: "objcopy"
140 path: "clang_3p6/x86_64-linux-gnu-objcopy"
141 }
142 tool_path {
143 name: "objdump"
144 path: "clang_3p6/x86_64-linux-gnu-objdump"
145 }
146 tool_path {
147 name: "strip"
148 path: "clang_3p6/x86_64-linux-gnu-strip"
149 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400150 supports_gold_linker: false
Brian Silverman12b3fc52015-10-11 19:38:33 -0400151 supports_thin_archives: false
Brian Silverman7b8899e2018-06-30 19:19:24 -0700152 needsPic: true
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800153 compiler_flag: "--sysroot=external/clang_3p6_repo/"
154 compiler_flag: "-nostdinc"
155 compiler_flag: "-isystem"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700156 compiler_flag: "external/clang_3p6_repo/usr/include"
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800157 compiler_flag: "-isystem"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700158 compiler_flag: "external/clang_3p6_repo/usr/include/x86_64-linux-gnu"
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800159 compiler_flag: "-isystem"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700160 compiler_flag: "external/clang_3p6_repo/usr/lib/llvm-3.6/lib/clang/3.6.2/include"
161 compiler_flag: "-D__STDC_FORMAT_MACROS"
162 compiler_flag: "-D__STDC_CONSTANT_MACROS"
163 compiler_flag: "-D__STDC_LIMIT_MACROS"
164 compiler_flag: "-D_FILE_OFFSET_BITS=64"
165 compiler_flag: "-DAOS_ARCHITECTURE_arm_frc"
166 compiler_flag: "-U_FORTIFY_SOURCE"
167 compiler_flag: "-D_FORTIFY_SOURCE=1"
168 compiler_flag: "-fstack-protector"
169 compiler_flag: "-fPIE"
170 compiler_flag: "-fcolor-diagnostics"
171 compiler_flag: "-fmessage-length=80"
172 compiler_flag: "-fmacro-backtrace-limit=0"
173 compiler_flag: "-Wall"
174 compiler_flag: "-Wextra"
175 compiler_flag: "-Wpointer-arith"
176 compiler_flag: "-Wstrict-aliasing"
177 compiler_flag: "-Wcast-qual"
178 compiler_flag: "-Wcast-align"
179 compiler_flag: "-Wwrite-strings"
180 compiler_flag: "-Wtype-limits"
181 compiler_flag: "-Wsign-compare"
182 compiler_flag: "-Wformat=2"
183 compiler_flag: "-Werror"
184 compiler_flag: "-fno-omit-frame-pointer"
185 compiler_flag: "-pipe"
186 compiler_flag: "-ggdb3"
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800187 cxx_flag: "-isystem"
188 cxx_flag: "external/clang_3p6_repo/usr/include/c++/4.9"
189 cxx_flag: "-isystem"
190 cxx_flag: "external/clang_3p6_repo/usr/include/x86_64-linux-gnu/c++/4.9"
191 cxx_flag: "-isystem"
192 cxx_flag: "external/clang_3p6_repo/usr/include/c++/4.9/backward"
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800193 linker_flag: "-nodefaultlibs"
194 linker_flag: "--sysroot=external/clang_3p6_repo/"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400195 linker_flag: "-lstdc++"
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800196 linker_flag: "-lc"
197 linker_flag: "-lgcc"
198 linker_flag: "-lgcc_s"
199 linker_flag: "-Bexternal/clang_3p6_repo/usr/bin/"
200 linker_flag: "-Ltools/cpp/clang_3p6/clang_more_libs"
201 linker_flag: "-Lexternal/clang_3p6/lib/x86_64-linux-gnu"
202 linker_flag: "-Lexternal/clang_3p6/usr/lib/x86_64-linux-gnu"
203 linker_flag: "-Lexternal/clang_3p6/usr/lib/gcc/x86_64-linux-gnu"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700204 linker_flag: "-no-canonical-prefixes"
205 linker_flag: "-fuse-ld=gold"
206 linker_flag: "-Wl,-z,relro,-z,now"
207 linker_flag: "-lm"
208 linker_flag: "-Wl,--build-id=md5"
209 linker_flag: "-Wl,--hash-style=gnu"
210 linker_flag: "-Wl,--warn-execstack"
211 linker_flag: "-Wl,--detect-odr-violations"
212 objcopy_embed_flag: "-I"
213 objcopy_embed_flag: "binary"
214 compilation_mode_flags {
215 mode: OPT
216 compiler_flag: "-O2"
217 compiler_flag: "-DNDEBUG"
218 compiler_flag: "-ffunction-sections"
219 compiler_flag: "-fdata-sections"
220 linker_flag: "-Wl,--gc-sections"
221 }
222 linking_mode_flags {
223 mode: DYNAMIC
224 }
225 cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/include/c++/4.9"
226 cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/include/x86_64-linux-gnu/c++/4.9"
227 cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/include/c++/4.9/backward"
228 cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/local/include"
229 cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/lib/llvm-3.6/lib/clang/3.6.2/include"
230 cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/include/x86_64-linux-gnu"
231 cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/include"
232 cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/lib/clang/3.6.2/include"
233 builtin_sysroot: ""
234 unfiltered_cxx_flag: "-no-canonical-prefixes"
235 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
236 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
237 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
238 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
239 supports_normalizing_ar: false
240 supports_start_end_lib: false
241 supports_interface_shared_objects: false
242 supports_incremental_linker: false
243 supports_fission: false
Brian Silverman12b3fc52015-10-11 19:38:33 -0400244 feature {
245 name: "opt"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400246 flag_set {
247 action: "preprocess-assemble"
248 action: "c-compile"
249 action: "c++-compile"
250 action: "c++-header-parsing"
251 action: "c++-header-preprocessing"
252 action: "c++-module-compile"
253 flag_group {
254 flag: "-DAOS_DEBUG=0"
255 }
256 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700257 implies: "all_modes"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400258 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400259 feature {
260 name: "dbg"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400261 flag_set {
262 action: "preprocess-assemble"
263 action: "c-compile"
264 action: "c++-compile"
265 action: "c++-header-parsing"
266 action: "c++-header-preprocessing"
267 action: "c++-module-compile"
268 flag_group {
269 flag: "-DAOS_DEBUG=1"
270 }
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500271 flag_group {
272 flag: "-fno-omit-frame-pointer"
273 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400274 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700275 implies: "all_modes"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400276 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400277 feature {
278 name: "fastbuild"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400279 flag_set {
280 action: "preprocess-assemble"
281 action: "c-compile"
282 action: "c++-compile"
283 action: "c++-header-parsing"
284 action: "c++-header-preprocessing"
285 action: "c++-module-compile"
286 flag_group {
287 flag: "-DAOS_DEBUG=0"
288 }
289 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700290 implies: "all_modes"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400291 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400292 feature {
293 name: "all_modes"
294 flag_set {
Austin Schuha20ae722015-11-01 12:29:38 -0800295 action: "preprocess-assemble"
296 action: "assemble"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400297 action: "c-compile"
298 flag_group {
299 flag: "-std=gnu99"
300 }
301 }
302 flag_set {
303 action: "c++-compile"
304 action: "c++-header-parsing"
305 action: "c++-header-preprocessing"
306 action: "c++-module-compile"
307 flag_group {
Austin Schuha20ae722015-11-01 12:29:38 -0800308 flag: "-std=gnu++1y"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400309 }
Brian Silverman23a1b342015-10-11 23:44:09 -0400310 }
311 flag_set {
312 action: "preprocess-assemble"
Austin Schuh23da18b2015-10-11 20:52:49 -0700313 action: "assemble"
314 action: "c++-link"
Brian Silverman23a1b342015-10-11 23:44:09 -0400315 action: "c++-compile"
316 action: "c++-header-parsing"
317 action: "c++-header-preprocessing"
318 action: "c++-module-compile"
Austin Schuh23da18b2015-10-11 20:52:49 -0700319 action: "c-compile"
Brian Silverman5dc00072015-10-12 00:38:14 -0400320 flag_group {
Brian Silverman5dc00072015-10-12 00:38:14 -0400321 flag: "-pthread"
322 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400323 }
324 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700325 feature {
326 name: "pie_for_linking"
327 flag_set {
328 action: "c++-link-executable"
329 flag_group {
330 flag: "-pie"
331 }
332 }
333 enabled: true
334 }
335}
336toolchain {
James Kuszmaul27da8142019-07-21 16:13:55 -0700337 toolchain_identifier: "emscripten_toolchain"
338 host_system_name: "web"
339 target_system_name: "emscripten-unknown-emscripten"
340 target_cpu: "web"
341 target_libc: "unknown"
342 compiler: "emscripten"
343 abi_version: "unknown"
344 abi_libc_version: "unknown"
345 tool_path {
346 name: "gcc"
347 path: "emscripten/emcc.sh"
348 }
349 tool_path {
350 name: "ld"
351 path: "emscripten/emcc.sh"
352 }
353 tool_path {
354 name: "ar"
355 path: "emscripten/emar.sh"
356 }
357 tool_path {
358 name: "cpp"
359 path: "/bin/false"
360 }
361 tool_path {
362 name: "gcov"
363 path: "/bin/false"
364 }
365 tool_path {
366 name: "nm"
367 path: "/bin/false"
368 }
369 tool_path {
370 name: "objdump"
371 path: "/bin/false"
372 }
373 tool_path {
374 name: "objcopy"
375 path: "/bin/false"
376 }
377 tool_path {
378 name: "strip"
379 path: "/bin/false"
380 }
381 compiler_flag: "-isystem"
382 compiler_flag: "external/emscripten_toolchain/system/include"
383 compiler_flag: "-fno-exceptions"
384 compiler_flag: "-fdiagnostics-color=always"
385 compiler_flag: "-Wall"
386 compiler_flag: "-Werror"
387 compiler_flag: "-ffunction-sections"
388 compiler_flag: "-fdata-sections"
389 linker_flag: "-no-canonical-prefixes"
390 unfiltered_cxx_flag: "-isystem"
391 unfiltered_cxx_flag: "external/emscripten_toolchain/system/include/libcxx"
392 unfiltered_cxx_flag: "-isystem"
393 unfiltered_cxx_flag: "external/emscripten_toolchain/system/lib/libcxxabi/include"
394 unfiltered_cxx_flag: "-isystem"
395 unfiltered_cxx_flag: "external/emscripten_toolchain/system/include/compat"
396 unfiltered_cxx_flag: "-isystem"
397 unfiltered_cxx_flag: "external/emscripten_toolchain/system/include"
398 unfiltered_cxx_flag: "-isystem"
399 unfiltered_cxx_flag: "external/emscripten_toolchain/system/include/SSE"
400 unfiltered_cxx_flag: "-isystem"
401 unfiltered_cxx_flag: "external/emscripten_toolchain/system/include/libc"
402 unfiltered_cxx_flag: "-isystem"
403 unfiltered_cxx_flag: "external/emscripten_toolchain/system/lib/libc/musl/arch/emscripten"
404 unfiltered_cxx_flag: "-isystem"
405 unfiltered_cxx_flag: "external/emscripten_toolchain/system/local/include"
406 unfiltered_cxx_flag: "-no-canonical-prefixes"
407 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
408 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
409 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
410 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
411 feature {
412 name: "opt"
413 flag_set {
414 action: "preprocess-assemble"
415 action: "c-compile"
416 action: "c++-compile"
417 action: "c++-header-parsing"
418 action: "c++-header-preprocessing"
419 action: "c++-module-compile"
420 flag_group {
421 flag: "-DAOS_DEBUG=0"
422 flag: "-O2"
423 flag: "--closure"
424 flag: "1"
425 }
426 }
427 implies: "all_modes"
428 }
429 feature {
430 name: "dbg"
431 flag_set {
432 action: "preprocess-assemble"
433 action: "c-compile"
434 action: "c++-compile"
435 action: "c++-header-parsing"
436 action: "c++-header-preprocessing"
437 action: "c++-module-compile"
438 flag_group {
439 flag: "-DAOS_DEBUG=1"
440 }
441 flag_group {
442 flag: "-fno-omit-frame-pointer"
443 }
444 }
445 implies: "all_modes"
446 }
447 feature {
448 name: "fastbuild"
449 flag_set {
450 action: "preprocess-assemble"
451 action: "c-compile"
452 action: "c++-compile"
453 action: "c++-header-parsing"
454 action: "c++-header-preprocessing"
455 action: "c++-module-compile"
456 flag_group {
457 flag: "-DAOS_DEBUG=0"
458 }
459 }
460 implies: "all_modes"
461 }
462 feature {
463 name: "all_modes"
464 flag_set {
465 action: "preprocess-assemble"
466 action: "assemble"
467 action: "c-compile"
468 flag_group {
469 flag: "-std=gnu99"
470 }
471 }
472 flag_set {
473 action: "c++-compile"
474 action: "c++-header-parsing"
475 action: "c++-header-preprocessing"
476 action: "c++-module-compile"
477 flag_group {
478 flag: "-std=gnu++1y"
479 }
480 }
481 }
482}
483toolchain {
Brian Silverman7b8899e2018-06-30 19:19:24 -0700484 toolchain_identifier: "roborio_linux"
485 host_system_name: "roborio"
486 target_system_name: "roborio"
487 target_cpu: "roborio"
488 target_libc: "roborio"
489 compiler: "gcc"
490 abi_version: "roborio"
491 abi_libc_version: "roborio"
492 tool_path {
493 name: "ar"
494 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ar"
495 }
496 tool_path {
Austin Schuhf6b94632019-02-02 22:11:27 -0800497 name: "as"
498 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-as"
499 }
500 tool_path {
Brian Silverman7b8899e2018-06-30 19:19:24 -0700501 name: "compat-ld"
502 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ld"
503 }
504 tool_path {
505 name: "cpp"
506 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-cpp"
507 }
508 tool_path {
509 name: "dwp"
510 path: "/bin/false"
511 }
512 tool_path {
513 name: "gcc"
514 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcc"
515 }
516 tool_path {
517 name: "gcov"
518 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcov-4.9"
519 }
520 tool_path {
521 name: "ld"
522 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ld"
523 }
524 tool_path {
525 name: "nm"
526 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-nm"
527 }
528 tool_path {
529 name: "objcopy"
530 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-objcopy"
531 }
532 tool_path {
533 name: "objdump"
534 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-objdump"
535 }
536 tool_path {
537 name: "strip"
538 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-strip"
539 }
540 supports_gold_linker: false
541 supports_thin_archives: false
542 needsPic: true
Brian Silverman7b8899e2018-06-30 19:19:24 -0700543 linker_flag: "-lstdc++"
544 linker_flag: "-Ltools/cpp/arm-frc-linux-gnueabi/libs"
545 linker_flag: "-no-canonical-prefixes"
546 linker_flag: "-Wl,-z,relro,-z,now"
547 linker_flag: "-lm"
548 linker_flag: "-pass-exit-codes"
549 linker_flag: "-Wl,--build-id=md5"
550 linker_flag: "-Wl,--hash-style=gnu"
551 objcopy_embed_flag: "-I"
552 objcopy_embed_flag: "binary"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700553 linking_mode_flags {
554 mode: DYNAMIC
555 }
Austin Schuhf6b94632019-02-02 22:11:27 -0800556 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//arm-frc2019-linux-gnueabi/usr/lib/gcc/arm-frc2019-linux-gnueabi/6.3.0/include)%"
557 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//arm-frc2019-linux-gnueabi/usr/lib/gcc/arm-frc2019-linux-gnueabi/6.3.0/include-fixed)%"
558 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//arm-frc2019-linux-gnueabi/usr/include/c++/6.3.0/arm-frc2019-linux-gnueabi)%"
559 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//arm-frc2019-linux-gnueabi/usr/include/c++/6.3.0/backward)%"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700560 builtin_sysroot: ""
561 unfiltered_cxx_flag: "-no-canonical-prefixes"
562 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
563 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
564 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
565 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
566 supports_normalizing_ar: false
567 supports_start_end_lib: false
568 supports_interface_shared_objects: false
569 supports_incremental_linker: false
570 supports_fission: false
Austin Schuh23da18b2015-10-11 20:52:49 -0700571 feature {
Austin Schuhef147de2018-10-27 21:19:00 -0700572 name: "compile_flags1"
573 flag_set {
574 action: "assemble"
575 action: "preprocess-assemble"
576 action: "c-compile"
577 action: "c++-compile"
578 action: "c++-header-parsing"
579 action: "c++-module-compile"
580 action: "c++-module-codegen"
581 action: "lto-backend"
582 action: "clif-match"
583 flag_group {
Austin Schuhf6b94632019-02-02 22:11:27 -0800584 flag: "--sysroot=external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi"
Austin Schuhef147de2018-10-27 21:19:00 -0700585 flag: "-nostdinc"
586 flag: "-isystem"
Austin Schuhf6b94632019-02-02 22:11:27 -0800587 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi/usr/lib/gcc/arm-frc2019-linux-gnueabi/6.3.0/include"
Austin Schuhef147de2018-10-27 21:19:00 -0700588 flag: "-isystem"
Austin Schuhf6b94632019-02-02 22:11:27 -0800589 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi/usr/lib/gcc/arm-frc2019-linux-gnueabi/6.3.0/include-fixed"
590 }
591 }
592 flag_set {
James Kuszmaulebdeaf52019-05-22 20:31:25 -0700593 action: "assemble"
594 action: "preprocess-assemble"
595 action: "c++-compile"
596 action: "c++-header-parsing"
597 action: "c++-header-preprocessing"
598 flag_group {
599 flag: "-fno-canonical-system-headers"
600 }
601 }
602 flag_set {
Austin Schuhf6b94632019-02-02 22:11:27 -0800603 action: "c++-compile"
604 action: "c++-header-parsing"
605 action: "c++-module-compile"
606 action: "c++-module-codegen"
607 flag_group {
Austin Schuhef147de2018-10-27 21:19:00 -0700608 flag: "-isystem"
Austin Schuhf6b94632019-02-02 22:11:27 -0800609 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi/usr/include/c++/6.3.0"
610 flag: "-isystem"
611 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi/usr/include/c++/6.3.0/arm-frc2019-linux-gnueabi"
612 flag: "-isystem"
613 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi/usr/include/c++/6.3.0/backward"
614 }
615 }
616 flag_set {
617 action: "assemble"
618 action: "preprocess-assemble"
619 action: "c-compile"
620 action: "c++-compile"
621 action: "c++-header-parsing"
622 action: "c++-module-compile"
623 action: "c++-module-codegen"
624 action: "lto-backend"
625 action: "clif-match"
626 flag_group {
627 flag: "-isystem"
628 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi/usr/include"
Austin Schuhef147de2018-10-27 21:19:00 -0700629 flag: "-mfpu=neon"
630 flag: "-D__STDC_FORMAT_MACROS"
631 flag: "-D__STDC_CONSTANT_MACROS"
632 flag: "-D__STDC_LIMIT_MACROS"
633 flag: "-D_FILE_OFFSET_BITS=64"
634 flag: "-DAOS_ARCHITECTURE_arm_frc"
635 flag: "-U_FORTIFY_SOURCE"
636 flag: "-fstack-protector"
637 flag: "-fPIE"
638 flag: "-fdiagnostics-color=always"
639 flag: "-Wall"
640 flag: "-Wextra"
641 flag: "-Wpointer-arith"
642 flag: "-Wstrict-aliasing"
643 flag: "-Wcast-qual"
644 flag: "-Wcast-align"
645 flag: "-Wwrite-strings"
646 flag: "-Wtype-limits"
647 flag: "-Wsign-compare"
648 flag: "-Wformat=2"
649 flag: "-Werror"
650 flag: "-Wunused-local-typedefs"
Austin Schuhcb108412019-10-13 16:09:54 -0700651 flag: "-Wno-cast-align"
Austin Schuhef147de2018-10-27 21:19:00 -0700652 flag: "-fno-omit-frame-pointer"
653 flag: "-D__has_feature(x)=0"
654 flag: "-pipe"
655 flag: "-ggdb3"
656 }
657 }
658 enabled: true
659 }
660 feature {
Austin Schuh23da18b2015-10-11 20:52:49 -0700661 name: "opt"
Austin Schuh23da18b2015-10-11 20:52:49 -0700662 flag_set {
Austin Schuhef147de2018-10-27 21:19:00 -0700663 action: "assemble"
664 action: "preprocess-assemble"
665 action: "c-compile"
666 action: "c++-compile"
667 action: "c++-module-compile"
668 action: "objc-compile"
669 action: "objc++-compile"
670 action: "c++-header-parsing"
671 action: "linkstamp-compile"
672 flag_group {
673 flag: "-O2"
674 flag: "-DNDEBUG"
675 flag: "-D_FORTIFY_SOURCE=1"
676 flag: "-ffunction-sections"
677 flag: "-fdata-sections"
678 }
679 }
680 flag_set {
681 action: "c++-link-executable"
682 action: "c++-link-nodeps-dynamic-library"
683 action: "c++-link-dynamic-library"
684 flag_group {
685 flag: "-Wl,--gc-sections"
686 }
687 }
688 implies: "opt_post"
689 }
690 feature {
Austin Schuhef147de2018-10-27 21:19:00 -0700691 name: "dependency_file"
692 flag_set {
693 action: "assemble"
694 action: "preprocess-assemble"
695 action: "c-compile"
696 action: "c++-compile"
697 action: "c++-module-compile"
698 action: "objc-compile"
699 action: "objc++-compile"
700 action: "c++-header-parsing"
701 action: "clif-match"
702 flag_group {
703 flag: "-MD"
704 flag: "-MF"
705 flag: "%{dependency_file}"
706 }
707 expand_if_all_available: "dependency_file"
708 }
709 }
710 feature {
711 name: "random_seed"
712 flag_set {
713 action: "c++-compile"
714 action: "c++-module-codegen"
715 action: "c++-module-compile"
716 flag_group {
717 flag: "-frandom-seed=%{output_file}"
718 expand_if_all_available: "output_file"
719 }
720 }
721 }
722 feature {
723 name: "pic"
724 flag_set {
725 action: "assemble"
726 action: "preprocess-assemble"
727 action: "linkstamp-compile"
728 action: "c-compile"
729 action: "c++-compile"
730 action: "c++-module-codegen"
731 action: "c++-module-compile"
732 flag_group {
733 flag: "-fPIC"
734 }
735 expand_if_all_available: "pic"
736 }
737 }
738 feature {
739 name: "preprocessor_defines"
740 flag_set {
741 action: "preprocess-assemble"
742 action: "linkstamp-compile"
743 action: "c-compile"
744 action: "c++-compile"
745 action: "c++-header-parsing"
746 action: "c++-module-compile"
747 action: "clif-match"
748 flag_group {
749 flag: "-D%{preprocessor_defines}"
750 iterate_over: "preprocessor_defines"
751 }
752 }
753 }
754 feature {
755 name: "include_paths"
756 flag_set {
757 action: "preprocess-assemble"
758 action: "c-compile"
759 action: "c++-compile"
760 action: "c++-header-parsing"
761 action: "c++-header-preprocessing"
762 action: "c++-module-compile"
763 flag_group {
764 flag: "-iquote"
765 flag: "%{quote_include_paths}"
766 iterate_over: "quote_include_paths"
767 }
768 flag_group {
769 flag: "-I%{include_paths}"
770 iterate_over: "include_paths"
771 }
772 flag_group {
773 flag: "-isystem"
774 flag: "%{system_include_paths}"
775 iterate_over: "system_include_paths"
776 }
777 }
778 }
779 feature {
780 name: "opt_post"
781 flag_set {
Austin Schuh23da18b2015-10-11 20:52:49 -0700782 action: "preprocess-assemble"
783 action: "c-compile"
784 action: "c++-compile"
785 action: "c++-header-parsing"
786 action: "c++-header-preprocessing"
787 action: "c++-module-compile"
788 flag_group {
789 flag: "-DAOS_DEBUG=0"
790 }
791 }
792 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700793 feature {
794 name: "dbg"
Austin Schuh23da18b2015-10-11 20:52:49 -0700795 flag_set {
796 action: "preprocess-assemble"
797 action: "c-compile"
798 action: "c++-compile"
799 action: "c++-header-parsing"
800 action: "c++-header-preprocessing"
801 action: "c++-module-compile"
802 flag_group {
803 flag: "-DAOS_DEBUG=1"
804 }
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500805 flag_group {
806 flag: "-fno-omit-frame-pointer"
807 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700808 }
809 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700810 feature {
811 name: "fastbuild"
Austin Schuh23da18b2015-10-11 20:52:49 -0700812 flag_set {
813 action: "preprocess-assemble"
814 action: "c-compile"
815 action: "c++-compile"
816 action: "c++-header-parsing"
817 action: "c++-header-preprocessing"
818 action: "c++-module-compile"
819 flag_group {
820 flag: "-DAOS_DEBUG=0"
821 }
822 }
823 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700824 feature {
825 name: "all_modes"
826 flag_set {
Austin Schuh23da18b2015-10-11 20:52:49 -0700827 action: "preprocess-assemble"
828 action: "assemble"
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500829 action: "c-compile"
Austin Schuh23da18b2015-10-11 20:52:49 -0700830 flag_group {
831 flag: "-std=gnu99"
832 }
833 }
834 flag_set {
835 action: "c++-compile"
836 action: "c++-header-parsing"
837 action: "c++-header-preprocessing"
838 action: "c++-module-compile"
839 flag_group {
840 flag: "-std=gnu++1y"
Austin Schuhf6b94632019-02-02 22:11:27 -0800841 flag: "-fno-sized-deallocation"
Austin Schuh23da18b2015-10-11 20:52:49 -0700842 }
843 }
844 flag_set {
845 action: "preprocess-assemble"
846 action: "assemble"
847 action: "c++-link"
848 action: "c++-compile"
849 action: "c++-header-parsing"
850 action: "c++-header-preprocessing"
851 action: "c++-module-compile"
852 action: "c-compile"
853 flag_group {
Austin Schuh23da18b2015-10-11 20:52:49 -0700854 flag: "-pthread"
855 }
856 }
Austin Schuhef147de2018-10-27 21:19:00 -0700857 enabled: true
Austin Schuh23da18b2015-10-11 20:52:49 -0700858 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700859 feature {
860 name: "pie_for_linking"
861 flag_set {
862 action: "c++-link-executable"
863 flag_group {
864 flag: "-pie"
865 }
866 }
867 enabled: true
868 }
869}
870toolchain {
871 toolchain_identifier: "clang_linux_armhf"
872 host_system_name: "linux"
873 target_system_name: "arm_a15"
874 target_cpu: "armhf-debian"
875 target_libc: "glibc_2.19"
876 compiler: "clang"
877 abi_version: "clang_3.6"
878 abi_libc_version: "glibc_2.19"
879 tool_path {
880 name: "ar"
881 path: "linaro_linux_gcc/arm-linux-gnueabihf-ar"
882 }
883 tool_path {
884 name: "compat-ld"
885 path: "linaro_linux_gcc/arm-linux-gnueabihf-ld"
886 }
887 tool_path {
888 name: "cpp"
889 path: "linaro_linux_gcc/clang_bin/clang"
890 }
891 tool_path {
892 name: "dwp"
893 path: "linaro_linux_gcc/arm-linux-gnueabihf-dwp"
894 }
895 tool_path {
896 name: "gcc"
897 path: "linaro_linux_gcc/clang_bin/clang"
898 }
899 tool_path {
900 name: "gcov"
901 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcov-4.9"
902 }
903 tool_path {
904 name: "ld"
905 path: "linaro_linux_gcc/arm-linux-gnueabihf-ld"
906 }
907 tool_path {
908 name: "nm"
909 path: "linaro_linux_gcc/arm-linux-gnueabihf-nm"
910 }
911 tool_path {
912 name: "objcopy"
913 path: "linaro_linux_gcc/arm-linux-gnueabihf-objcopy"
914 }
915 tool_path {
916 name: "objdump"
917 path: "linaro_linux_gcc/arm-linux-gnueabihf-objdump"
918 }
919 tool_path {
920 name: "strip"
921 path: "linaro_linux_gcc/arm-linux-gnueabihf-strip"
922 }
923 supports_gold_linker: false
924 supports_thin_archives: true
925 needsPic: true
926 compiler_flag: "-target"
927 compiler_flag: "armv7a-arm-linux-gnueabif"
928 compiler_flag: "--sysroot=external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc"
929 compiler_flag: "-mfloat-abi=hard"
930 compiler_flag: "-mfpu=vfpv3-d16"
931 compiler_flag: "-nostdinc"
932 compiler_flag: "-isystem"
933 compiler_flag: "/usr/lib/clang/3.6/include"
934 compiler_flag: "-isystem"
935 compiler_flag: "external/linaro_linux_gcc_4_9_repo/lib/gcc/arm-linux-gnueabihf/4.9.3/include"
936 compiler_flag: "-isystem"
937 compiler_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/usr/include"
938 compiler_flag: "-isystem"
939 compiler_flag: "external/linaro_linux_gcc_4_9_repo/lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed"
Austin Schuh23da18b2015-10-11 20:52:49 -0700940 compiler_flag: "-D__STDC_FORMAT_MACROS"
941 compiler_flag: "-D__STDC_CONSTANT_MACROS"
942 compiler_flag: "-D__STDC_LIMIT_MACROS"
943 compiler_flag: "-D_FILE_OFFSET_BITS=64"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700944 compiler_flag: "-DAOS_ARCHITECTURE_armhf"
Austin Schuh23da18b2015-10-11 20:52:49 -0700945 compiler_flag: "-U_FORTIFY_SOURCE"
946 compiler_flag: "-fstack-protector"
947 compiler_flag: "-fPIE"
Austin Schuh23da18b2015-10-11 20:52:49 -0700948 compiler_flag: "-fdiagnostics-color=always"
Austin Schuh23da18b2015-10-11 20:52:49 -0700949 compiler_flag: "-Wall"
950 compiler_flag: "-Wextra"
Austin Schuh23da18b2015-10-11 20:52:49 -0700951 compiler_flag: "-Wpointer-arith"
Brian Silverman594be0d2015-10-31 17:56:23 -0400952 compiler_flag: "-Wstrict-aliasing"
Austin Schuh23da18b2015-10-11 20:52:49 -0700953 compiler_flag: "-Wcast-qual"
954 compiler_flag: "-Wcast-align"
955 compiler_flag: "-Wwrite-strings"
956 compiler_flag: "-Wtype-limits"
957 compiler_flag: "-Wsign-compare"
958 compiler_flag: "-Wformat=2"
959 compiler_flag: "-Werror"
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500960 compiler_flag: "-Wunused-local-typedefs"
Austin Schuh23da18b2015-10-11 20:52:49 -0700961 compiler_flag: "-fno-omit-frame-pointer"
Austin Schuh23da18b2015-10-11 20:52:49 -0700962 compiler_flag: "-pipe"
Brian Silvermand2540402015-11-28 18:35:00 -0500963 compiler_flag: "-ggdb3"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500964 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800965 cxx_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/include/c++/4.9.3/arm-linux-gnueabihf"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500966 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800967 cxx_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/include/c++/4.9.3"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500968 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800969 cxx_flag: "external/linaro_linux_gcc_4_9_repo/include/c++/4.9.3/arm-linux-gnueabihf"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500970 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800971 cxx_flag: "external/linaro_linux_gcc_4_9_repo/include/c++/4.9.3"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500972 linker_flag: "-target"
973 linker_flag: "armv7a-arm-linux-gnueabif"
Austin Schuh61660832016-03-04 21:56:39 -0800974 linker_flag: "--sysroot=external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500975 linker_flag: "-lstdc++"
976 linker_flag: "-Ltools/cpp/linaro_linux_gcc/clang_more_libs"
Austin Schuh61660832016-03-04 21:56:39 -0800977 linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/lib"
978 linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/lib"
979 linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/usr/lib"
980 linker_flag: "-Bexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/bin"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500981 linker_flag: "-Wl,--dynamic-linker=/lib/ld-linux-armhf.so.3"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700982 linker_flag: "-no-canonical-prefixes"
983 linker_flag: "-Wl,-z,relro,-z,now"
984 linker_flag: "-lm"
985 linker_flag: "-Wl,--build-id=md5"
986 linker_flag: "-Wl,--hash-style=gnu"
987 objcopy_embed_flag: "-I"
988 objcopy_embed_flag: "binary"
989 compilation_mode_flags {
990 mode: OPT
991 compiler_flag: "-O2"
992 compiler_flag: "-DNDEBUG"
993 compiler_flag: "-D_FORTIFY_SOURCE=1"
994 compiler_flag: "-ffunction-sections"
995 compiler_flag: "-fdata-sections"
996 linker_flag: "-Wl,--gc-sections"
997 }
998 linking_mode_flags {
999 mode: DYNAMIC
1000 }
1001 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//include)%"
1002 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/usr/include)%"
1003 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/usr/lib/include)%"
1004 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed)%"
1005 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//include)%/c++/4.9.3"
1006 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/4.9.3/include)%"
1007 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed)%"
1008 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//lib/gcc/arm-linux-gnueabihf/4.9.3/include)%"
1009 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed)%"
1010 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/include)%/c++/4.9.3"
1011 cxx_builtin_include_directory: "/usr/lib/clang/3.6/include"
1012 builtin_sysroot: ""
1013 unfiltered_cxx_flag: "-no-canonical-prefixes"
1014 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
1015 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
1016 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
1017 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
1018 supports_normalizing_ar: true
1019 supports_start_end_lib: false
1020 supports_interface_shared_objects: false
1021 supports_incremental_linker: false
1022 supports_fission: false
Brian Silverman0d57fc82016-01-24 21:02:53 -05001023 feature {
1024 name: "opt"
Brian Silverman0d57fc82016-01-24 21:02:53 -05001025 flag_set {
1026 action: "preprocess-assemble"
1027 action: "c-compile"
1028 action: "c++-compile"
1029 action: "c++-header-parsing"
1030 action: "c++-header-preprocessing"
1031 action: "c++-module-compile"
1032 flag_group {
1033 flag: "-DAOS_DEBUG=0"
1034 }
1035 }
Brian Silverman7b8899e2018-06-30 19:19:24 -07001036 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -05001037 }
Brian Silverman0d57fc82016-01-24 21:02:53 -05001038 feature {
1039 name: "dbg"
Brian Silverman0d57fc82016-01-24 21:02:53 -05001040 flag_set {
1041 action: "preprocess-assemble"
1042 action: "c-compile"
1043 action: "c++-compile"
1044 action: "c++-header-parsing"
1045 action: "c++-header-preprocessing"
1046 action: "c++-module-compile"
1047 flag_group {
1048 flag: "-DAOS_DEBUG=1"
1049 }
1050 flag_group {
1051 flag: "-fno-omit-frame-pointer"
1052 }
1053 }
Brian Silverman7b8899e2018-06-30 19:19:24 -07001054 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -05001055 }
Brian Silverman0d57fc82016-01-24 21:02:53 -05001056 feature {
1057 name: "fastbuild"
Brian Silverman0d57fc82016-01-24 21:02:53 -05001058 flag_set {
1059 action: "preprocess-assemble"
1060 action: "c-compile"
1061 action: "c++-compile"
1062 action: "c++-header-parsing"
1063 action: "c++-header-preprocessing"
1064 action: "c++-module-compile"
1065 flag_group {
1066 flag: "-DAOS_DEBUG=0"
1067 }
1068 }
Brian Silverman7b8899e2018-06-30 19:19:24 -07001069 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -05001070 }
Brian Silverman0d57fc82016-01-24 21:02:53 -05001071 feature {
1072 name: "all_modes"
1073 flag_set {
1074 action: "preprocess-assemble"
1075 action: "assemble"
1076 action: "c-compile"
1077 flag_group {
1078 flag: "-std=gnu99"
1079 }
1080 }
1081 flag_set {
1082 action: "c++-compile"
1083 action: "c++-header-parsing"
1084 action: "c++-header-preprocessing"
1085 action: "c++-module-compile"
1086 flag_group {
1087 flag: "-std=gnu++1y"
1088 }
1089 }
1090 flag_set {
1091 action: "preprocess-assemble"
1092 action: "assemble"
1093 action: "c++-link"
1094 action: "c++-compile"
1095 action: "c++-header-parsing"
1096 action: "c++-header-preprocessing"
1097 action: "c++-module-compile"
1098 action: "c-compile"
1099 flag_group {
Brian Silverman0d57fc82016-01-24 21:02:53 -05001100 flag: "-pthread"
1101 }
1102 }
1103 }
Austin Schuh137d9452018-07-07 15:42:36 -07001104 feature {
1105 name: "pie_for_linking"
Austin Schuh137d9452018-07-07 15:42:36 -07001106 flag_set {
1107 action: "c++-link-executable"
1108 flag_group {
1109 flag: "-pie"
1110 }
1111 }
Brian Silverman7b8899e2018-06-30 19:19:24 -07001112 enabled: true
Austin Schuh137d9452018-07-07 15:42:36 -07001113 }
Brian Silverman0d57fc82016-01-24 21:02:53 -05001114}
Brian Silverman8b638692017-06-26 23:10:26 -07001115toolchain {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001116 toolchain_identifier: "cortex-m4f"
1117 host_system_name: "local"
1118 target_system_name: "cortex-m4f"
1119 target_cpu: "cortex-m4f"
1120 target_libc: "cortex-m4f"
1121 compiler: "gcc"
Brian Silverman8b638692017-06-26 23:10:26 -07001122 abi_version: "cortex-m4f"
1123 abi_libc_version: "cortex-m4f"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001124 tool_path {
1125 name: "ar"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001126 path: "gcc_arm_none_eabi/arm-none-eabi-ar"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001127 }
1128 tool_path {
1129 name: "compat-ld"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001130 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001131 }
1132 tool_path {
1133 name: "cpp"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001134 path: "gcc_arm_none_eabi/arm-none-eabi-cpp"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001135 }
1136 tool_path {
1137 name: "dwp"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001138 path: "gcc_arm_none_eabi/arm-none-eabi-dwp"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001139 }
1140 tool_path {
1141 name: "gcc"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001142 path: "gcc_arm_none_eabi/arm-none-eabi-gcc"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001143 }
1144 tool_path {
1145 name: "gcov"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001146 path: "gcc_arm_none_eabi/arm-none-eabi-gcov"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001147 }
1148 tool_path {
1149 name: "ld"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001150 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001151 }
1152 tool_path {
1153 name: "nm"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001154 path: "gcc_arm_none_eabi/arm-none-eabi-nm"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001155 }
1156 tool_path {
1157 name: "objcopy"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001158 path: "gcc_arm_none_eabi/arm-none-eabi-objcopy"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001159 }
1160 tool_path {
1161 name: "objdump"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001162 path: "gcc_arm_none_eabi/arm-none-eabi-objdump"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001163 }
1164 tool_path {
1165 name: "strip"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001166 path: "gcc_arm_none_eabi/arm-none-eabi-strip"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001167 }
Brian Silverman8b638692017-06-26 23:10:26 -07001168 supports_gold_linker: false
Brian Silverman8b638692017-06-26 23:10:26 -07001169 supports_thin_archives: false
Brian Silverman7b8899e2018-06-30 19:19:24 -07001170 needsPic: false
1171 compiler_flag: "-D__STDC_FORMAT_MACROS"
1172 compiler_flag: "-D__STDC_CONSTANT_MACROS"
1173 compiler_flag: "-D__STDC_LIMIT_MACROS"
1174 compiler_flag: "-D__MK64FX512__"
1175 compiler_flag: "-DF_CPU=120000000"
1176 compiler_flag: "-Wl,--gc-sections"
1177 compiler_flag: "-D__have_long32"
1178 compiler_flag: "-fstack-protector"
1179 compiler_flag: "-mcpu=cortex-m4"
1180 compiler_flag: "-mfpu=fpv4-sp-d16"
1181 compiler_flag: "-mthumb"
1182 compiler_flag: "-mfloat-abi=hard"
1183 compiler_flag: "-fno-strict-aliasing"
1184 compiler_flag: "-fmessage-length=80"
1185 compiler_flag: "-fmax-errors=20"
1186 compiler_flag: "-Wall"
1187 compiler_flag: "-Wextra"
1188 compiler_flag: "-Wpointer-arith"
1189 compiler_flag: "-Wcast-qual"
1190 compiler_flag: "-Wwrite-strings"
1191 compiler_flag: "-Wtype-limits"
1192 compiler_flag: "-Wsign-compare"
1193 compiler_flag: "-Wformat=2"
1194 compiler_flag: "-Werror"
1195 compiler_flag: "-Wstrict-aliasing=2"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001196 compiler_flag: "-Wno-misleading-indentation"
1197 compiler_flag: "-Wno-int-in-bool-context"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001198 compiler_flag: "-Wdouble-promotion"
1199 compiler_flag: "-pipe"
1200 compiler_flag: "-g"
1201 compiler_flag: "-fno-common"
1202 compiler_flag: "-ffreestanding"
1203 compiler_flag: "-fbuiltin"
1204 linker_flag: "-no-canonical-prefixes"
1205 linker_flag: "-mcpu=cortex-m4"
1206 linker_flag: "-mfpu=fpv4-sp-d16"
1207 linker_flag: "-mthumb"
1208 linker_flag: "-mfloat-abi=hard"
1209 linker_flag: "-fno-strict-aliasing"
1210 linker_flag: "--specs=nano.specs"
1211 linker_flag: "-lgcc"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001212 linker_flag: "-lstdc++_nano"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001213 linker_flag: "-lm"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001214 linker_flag: "-lc_nano"
Brian Silvermand4dc1262018-09-23 16:50:34 -07001215 linker_flag: "-Tmotors/core/kinetis_512_256.ld"
1216 linker_flag: "-Tmotors/core/kinetis_sections.ld"
Brian Silverman8b638692017-06-26 23:10:26 -07001217 objcopy_embed_flag: "-I"
1218 objcopy_embed_flag: "binary"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001219 compilation_mode_flags {
1220 mode: OPT
1221 compiler_flag: "-O2"
1222 compiler_flag: "-finline-functions"
1223 compiler_flag: "-ffast-math"
1224 compiler_flag: "-funroll-loops"
1225 compiler_flag: "-DNDEBUG"
1226 compiler_flag: "-ffunction-sections"
1227 linker_flag: "-Wl,--gc-sections"
1228 }
1229 linking_mode_flags {
1230 mode: FULLY_STATIC
1231 }
1232 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include"
1233 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include-fixed"
1234 cxx_builtin_include_directory: "/usr/lib/arm-none-eabi/include"
1235 cxx_builtin_include_directory: "/usr/include/newlib"
1236 builtin_sysroot: ""
1237 unfiltered_cxx_flag: "-no-canonical-prefixes"
1238 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
1239 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
1240 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
1241 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
1242 supports_normalizing_ar: false
1243 supports_start_end_lib: false
1244 supports_interface_shared_objects: false
1245 supports_incremental_linker: false
1246 supports_fission: false
Brian Silverman8b638692017-06-26 23:10:26 -07001247 feature {
1248 name: "dbg"
Brian Silverman8b638692017-06-26 23:10:26 -07001249 flag_set {
1250 action: "preprocess-assemble"
1251 action: "c-compile"
1252 action: "c++-compile"
1253 action: "c++-header-parsing"
1254 action: "c++-header-preprocessing"
1255 action: "c++-module-compile"
1256 flag_group {
1257 flag: "-fno-omit-frame-pointer"
1258 }
1259 }
Brian Silverman7b8899e2018-06-30 19:19:24 -07001260 implies: "all_modes"
Brian Silverman8b638692017-06-26 23:10:26 -07001261 }
Brian Silverman8b638692017-06-26 23:10:26 -07001262 feature {
1263 name: "opt"
1264 implies: "all_modes"
1265 }
1266 feature {
1267 name: "fastbuild"
1268 implies: "all_modes"
1269 }
Brian Silverman8b638692017-06-26 23:10:26 -07001270 feature {
1271 name: "all_modes"
1272 flag_set {
1273 action: "preprocess-assemble"
1274 action: "assemble"
1275 action: "c-compile"
1276 flag_group {
1277 flag: "--std=gnu99"
1278 }
1279 }
1280 flag_set {
1281 action: "c++-compile"
1282 action: "c++-header-parsing"
1283 action: "c++-header-preprocessing"
1284 action: "c++-module-compile"
1285 flag_group {
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001286 flag: "--std=gnu++1y"
1287 flag: "-fno-exceptions"
1288 flag: "-fno-rtti"
1289 }
1290 }
1291 }
1292 feature {
1293 name: "include_paths"
1294 flag_set {
1295 action: "preprocess-assemble"
1296 action: "c-compile"
1297 action: "c++-compile"
1298 action: "c++-header-parsing"
1299 action: "c++-header-preprocessing"
1300 action: "c++-module-compile"
1301 flag_group {
1302 flag: "-iquote"
1303 flag: "%{quote_include_paths}"
1304 iterate_over: "quote_include_paths"
1305 }
1306 flag_group {
1307 flag: "-I%{include_paths}"
1308 iterate_over: "include_paths"
1309 }
1310 flag_group {
1311 flag: "-I"
1312 flag: "%{system_include_paths}"
1313 iterate_over: "system_include_paths"
1314 }
1315 }
1316 }
1317}
1318toolchain {
1319 toolchain_identifier: "cortex-m4f-k22"
1320 host_system_name: "local"
1321 target_system_name: "cortex-m4f-k22"
1322 target_cpu: "cortex-m4f-k22"
1323 target_libc: "cortex-m4f-k22"
1324 compiler: "gcc"
1325 abi_version: "cortex-m4f-k22"
1326 abi_libc_version: "cortex-m4f-k22"
1327 tool_path {
1328 name: "ar"
1329 path: "gcc_arm_none_eabi/arm-none-eabi-ar"
1330 }
1331 tool_path {
1332 name: "compat-ld"
1333 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
1334 }
1335 tool_path {
1336 name: "cpp"
1337 path: "gcc_arm_none_eabi/arm-none-eabi-cpp"
1338 }
1339 tool_path {
1340 name: "dwp"
1341 path: "gcc_arm_none_eabi/arm-none-eabi-dwp"
1342 }
1343 tool_path {
1344 name: "gcc"
1345 path: "gcc_arm_none_eabi/arm-none-eabi-gcc"
1346 }
1347 tool_path {
1348 name: "gcov"
1349 path: "gcc_arm_none_eabi/arm-none-eabi-gcov"
1350 }
1351 tool_path {
1352 name: "ld"
1353 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
1354 }
1355 tool_path {
1356 name: "nm"
1357 path: "gcc_arm_none_eabi/arm-none-eabi-nm"
1358 }
1359 tool_path {
1360 name: "objcopy"
1361 path: "gcc_arm_none_eabi/arm-none-eabi-objcopy"
1362 }
1363 tool_path {
1364 name: "objdump"
1365 path: "gcc_arm_none_eabi/arm-none-eabi-objdump"
1366 }
1367 tool_path {
1368 name: "strip"
1369 path: "gcc_arm_none_eabi/arm-none-eabi-strip"
1370 }
1371 supports_gold_linker: false
1372 supports_thin_archives: false
1373 needsPic: false
1374 compiler_flag: "-D__STDC_FORMAT_MACROS"
1375 compiler_flag: "-D__STDC_CONSTANT_MACROS"
1376 compiler_flag: "-D__STDC_LIMIT_MACROS"
1377 compiler_flag: "-D__MK22FX512__"
1378 compiler_flag: "-DF_CPU=120000000"
1379 compiler_flag: "-Wl,--gc-sections"
1380 compiler_flag: "-D__have_long32"
1381 compiler_flag: "-fstack-protector"
1382 compiler_flag: "-mcpu=cortex-m4"
1383 compiler_flag: "-mfpu=fpv4-sp-d16"
1384 compiler_flag: "-mthumb"
1385 compiler_flag: "-mfloat-abi=hard"
1386 compiler_flag: "-fno-strict-aliasing"
1387 compiler_flag: "-fmessage-length=80"
1388 compiler_flag: "-fmax-errors=20"
1389 compiler_flag: "-Wall"
1390 compiler_flag: "-Wextra"
1391 compiler_flag: "-Wpointer-arith"
1392 compiler_flag: "-Wcast-qual"
1393 compiler_flag: "-Wwrite-strings"
1394 compiler_flag: "-Wtype-limits"
1395 compiler_flag: "-Wsign-compare"
1396 compiler_flag: "-Wformat=2"
1397 compiler_flag: "-Werror"
1398 compiler_flag: "-Wstrict-aliasing=2"
1399 compiler_flag: "-Wno-misleading-indentation"
1400 compiler_flag: "-Wno-int-in-bool-context"
1401 compiler_flag: "-Wdouble-promotion"
1402 compiler_flag: "-pipe"
1403 compiler_flag: "-g"
1404 compiler_flag: "-fno-common"
1405 compiler_flag: "-ffreestanding"
1406 compiler_flag: "-fbuiltin"
1407 linker_flag: "-no-canonical-prefixes"
1408 linker_flag: "-mcpu=cortex-m4"
1409 linker_flag: "-mfpu=fpv4-sp-d16"
1410 linker_flag: "-mthumb"
1411 linker_flag: "-mfloat-abi=hard"
1412 linker_flag: "-fno-strict-aliasing"
1413 linker_flag: "--specs=nano.specs"
1414 linker_flag: "-lgcc"
1415 linker_flag: "-lstdc++_nano"
1416 linker_flag: "-lm"
1417 linker_flag: "-lc_nano"
Brian Silvermand4dc1262018-09-23 16:50:34 -07001418 linker_flag: "-Tmotors/core/kinetis_512_128.ld"
1419 linker_flag: "-Tmotors/core/kinetis_sections.ld"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001420 objcopy_embed_flag: "-I"
1421 objcopy_embed_flag: "binary"
1422 compilation_mode_flags {
1423 mode: OPT
1424 compiler_flag: "-O2"
1425 compiler_flag: "-finline-functions"
1426 compiler_flag: "-ffast-math"
1427 compiler_flag: "-funroll-loops"
1428 compiler_flag: "-DNDEBUG"
1429 compiler_flag: "-ffunction-sections"
1430 linker_flag: "-Wl,--gc-sections"
1431 }
1432 linking_mode_flags {
1433 mode: FULLY_STATIC
1434 }
1435 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include"
1436 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include-fixed"
1437 cxx_builtin_include_directory: "/usr/lib/arm-none-eabi/include"
1438 cxx_builtin_include_directory: "/usr/include/newlib"
1439 builtin_sysroot: ""
1440 unfiltered_cxx_flag: "-no-canonical-prefixes"
1441 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
1442 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
1443 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
1444 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
1445 supports_normalizing_ar: false
1446 supports_start_end_lib: false
1447 supports_interface_shared_objects: false
1448 supports_incremental_linker: false
1449 supports_fission: false
1450 feature {
1451 name: "dbg"
1452 flag_set {
1453 action: "preprocess-assemble"
1454 action: "c-compile"
1455 action: "c++-compile"
1456 action: "c++-header-parsing"
1457 action: "c++-header-preprocessing"
1458 action: "c++-module-compile"
1459 flag_group {
1460 flag: "-fno-omit-frame-pointer"
1461 }
1462 }
1463 implies: "all_modes"
1464 }
1465 feature {
1466 name: "opt"
1467 implies: "all_modes"
1468 }
1469 feature {
1470 name: "fastbuild"
1471 implies: "all_modes"
1472 }
1473 feature {
1474 name: "all_modes"
1475 flag_set {
1476 action: "preprocess-assemble"
1477 action: "assemble"
1478 action: "c-compile"
1479 flag_group {
1480 flag: "--std=gnu99"
1481 }
1482 }
1483 flag_set {
1484 action: "c++-compile"
1485 action: "c++-header-parsing"
1486 action: "c++-header-preprocessing"
1487 action: "c++-module-compile"
1488 flag_group {
1489 flag: "--std=gnu++1y"
Brian Silverman8b638692017-06-26 23:10:26 -07001490 flag: "-fno-exceptions"
1491 flag: "-fno-rtti"
1492 }
1493 }
1494 }
Brian Silverman8b638692017-06-26 23:10:26 -07001495 feature {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001496 name: "include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001497 flag_set {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001498 action: "preprocess-assemble"
1499 action: "c-compile"
1500 action: "c++-compile"
1501 action: "c++-header-parsing"
1502 action: "c++-header-preprocessing"
1503 action: "c++-module-compile"
Brian Silverman8b638692017-06-26 23:10:26 -07001504 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001505 flag: "-iquote"
1506 flag: "%{quote_include_paths}"
1507 iterate_over: "quote_include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001508 }
1509 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001510 flag: "-I%{include_paths}"
1511 iterate_over: "include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001512 }
1513 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001514 flag: "-I"
1515 flag: "%{system_include_paths}"
1516 iterate_over: "system_include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001517 }
1518 }
1519 }
1520}