blob: 75110f4411f031c097011303142376c44a27586b [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"
651 flag: "-fno-omit-frame-pointer"
652 flag: "-D__has_feature(x)=0"
653 flag: "-pipe"
654 flag: "-ggdb3"
655 }
656 }
657 enabled: true
658 }
659 feature {
Austin Schuh23da18b2015-10-11 20:52:49 -0700660 name: "opt"
Austin Schuh23da18b2015-10-11 20:52:49 -0700661 flag_set {
Austin Schuhef147de2018-10-27 21:19:00 -0700662 action: "assemble"
663 action: "preprocess-assemble"
664 action: "c-compile"
665 action: "c++-compile"
666 action: "c++-module-compile"
667 action: "objc-compile"
668 action: "objc++-compile"
669 action: "c++-header-parsing"
670 action: "linkstamp-compile"
671 flag_group {
672 flag: "-O2"
673 flag: "-DNDEBUG"
674 flag: "-D_FORTIFY_SOURCE=1"
675 flag: "-ffunction-sections"
676 flag: "-fdata-sections"
677 }
678 }
679 flag_set {
680 action: "c++-link-executable"
681 action: "c++-link-nodeps-dynamic-library"
682 action: "c++-link-dynamic-library"
683 flag_group {
684 flag: "-Wl,--gc-sections"
685 }
686 }
687 implies: "opt_post"
688 }
689 feature {
Austin Schuhef147de2018-10-27 21:19:00 -0700690 name: "dependency_file"
691 flag_set {
692 action: "assemble"
693 action: "preprocess-assemble"
694 action: "c-compile"
695 action: "c++-compile"
696 action: "c++-module-compile"
697 action: "objc-compile"
698 action: "objc++-compile"
699 action: "c++-header-parsing"
700 action: "clif-match"
701 flag_group {
702 flag: "-MD"
703 flag: "-MF"
704 flag: "%{dependency_file}"
705 }
706 expand_if_all_available: "dependency_file"
707 }
708 }
709 feature {
710 name: "random_seed"
711 flag_set {
712 action: "c++-compile"
713 action: "c++-module-codegen"
714 action: "c++-module-compile"
715 flag_group {
716 flag: "-frandom-seed=%{output_file}"
717 expand_if_all_available: "output_file"
718 }
719 }
720 }
721 feature {
722 name: "pic"
723 flag_set {
724 action: "assemble"
725 action: "preprocess-assemble"
726 action: "linkstamp-compile"
727 action: "c-compile"
728 action: "c++-compile"
729 action: "c++-module-codegen"
730 action: "c++-module-compile"
731 flag_group {
732 flag: "-fPIC"
733 }
734 expand_if_all_available: "pic"
735 }
736 }
737 feature {
738 name: "preprocessor_defines"
739 flag_set {
740 action: "preprocess-assemble"
741 action: "linkstamp-compile"
742 action: "c-compile"
743 action: "c++-compile"
744 action: "c++-header-parsing"
745 action: "c++-module-compile"
746 action: "clif-match"
747 flag_group {
748 flag: "-D%{preprocessor_defines}"
749 iterate_over: "preprocessor_defines"
750 }
751 }
752 }
753 feature {
754 name: "include_paths"
755 flag_set {
756 action: "preprocess-assemble"
757 action: "c-compile"
758 action: "c++-compile"
759 action: "c++-header-parsing"
760 action: "c++-header-preprocessing"
761 action: "c++-module-compile"
762 flag_group {
763 flag: "-iquote"
764 flag: "%{quote_include_paths}"
765 iterate_over: "quote_include_paths"
766 }
767 flag_group {
768 flag: "-I%{include_paths}"
769 iterate_over: "include_paths"
770 }
771 flag_group {
772 flag: "-isystem"
773 flag: "%{system_include_paths}"
774 iterate_over: "system_include_paths"
775 }
776 }
777 }
778 feature {
779 name: "opt_post"
780 flag_set {
Austin Schuh23da18b2015-10-11 20:52:49 -0700781 action: "preprocess-assemble"
782 action: "c-compile"
783 action: "c++-compile"
784 action: "c++-header-parsing"
785 action: "c++-header-preprocessing"
786 action: "c++-module-compile"
787 flag_group {
788 flag: "-DAOS_DEBUG=0"
789 }
790 }
791 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700792 feature {
793 name: "dbg"
Austin Schuh23da18b2015-10-11 20:52:49 -0700794 flag_set {
795 action: "preprocess-assemble"
796 action: "c-compile"
797 action: "c++-compile"
798 action: "c++-header-parsing"
799 action: "c++-header-preprocessing"
800 action: "c++-module-compile"
801 flag_group {
802 flag: "-DAOS_DEBUG=1"
803 }
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500804 flag_group {
805 flag: "-fno-omit-frame-pointer"
806 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700807 }
808 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700809 feature {
810 name: "fastbuild"
Austin Schuh23da18b2015-10-11 20:52:49 -0700811 flag_set {
812 action: "preprocess-assemble"
813 action: "c-compile"
814 action: "c++-compile"
815 action: "c++-header-parsing"
816 action: "c++-header-preprocessing"
817 action: "c++-module-compile"
818 flag_group {
819 flag: "-DAOS_DEBUG=0"
820 }
821 }
822 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700823 feature {
824 name: "all_modes"
825 flag_set {
Austin Schuh23da18b2015-10-11 20:52:49 -0700826 action: "preprocess-assemble"
827 action: "assemble"
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500828 action: "c-compile"
Austin Schuh23da18b2015-10-11 20:52:49 -0700829 flag_group {
830 flag: "-std=gnu99"
831 }
832 }
833 flag_set {
834 action: "c++-compile"
835 action: "c++-header-parsing"
836 action: "c++-header-preprocessing"
837 action: "c++-module-compile"
838 flag_group {
839 flag: "-std=gnu++1y"
Austin Schuhf6b94632019-02-02 22:11:27 -0800840 flag: "-fno-sized-deallocation"
Austin Schuh23da18b2015-10-11 20:52:49 -0700841 }
842 }
843 flag_set {
844 action: "preprocess-assemble"
845 action: "assemble"
846 action: "c++-link"
847 action: "c++-compile"
848 action: "c++-header-parsing"
849 action: "c++-header-preprocessing"
850 action: "c++-module-compile"
851 action: "c-compile"
852 flag_group {
Austin Schuh23da18b2015-10-11 20:52:49 -0700853 flag: "-pthread"
854 }
855 }
Austin Schuhef147de2018-10-27 21:19:00 -0700856 enabled: true
Austin Schuh23da18b2015-10-11 20:52:49 -0700857 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700858 feature {
859 name: "pie_for_linking"
860 flag_set {
861 action: "c++-link-executable"
862 flag_group {
863 flag: "-pie"
864 }
865 }
866 enabled: true
867 }
868}
869toolchain {
870 toolchain_identifier: "clang_linux_armhf"
871 host_system_name: "linux"
872 target_system_name: "arm_a15"
873 target_cpu: "armhf-debian"
874 target_libc: "glibc_2.19"
875 compiler: "clang"
876 abi_version: "clang_3.6"
877 abi_libc_version: "glibc_2.19"
878 tool_path {
879 name: "ar"
880 path: "linaro_linux_gcc/arm-linux-gnueabihf-ar"
881 }
882 tool_path {
883 name: "compat-ld"
884 path: "linaro_linux_gcc/arm-linux-gnueabihf-ld"
885 }
886 tool_path {
887 name: "cpp"
888 path: "linaro_linux_gcc/clang_bin/clang"
889 }
890 tool_path {
891 name: "dwp"
892 path: "linaro_linux_gcc/arm-linux-gnueabihf-dwp"
893 }
894 tool_path {
895 name: "gcc"
896 path: "linaro_linux_gcc/clang_bin/clang"
897 }
898 tool_path {
899 name: "gcov"
900 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcov-4.9"
901 }
902 tool_path {
903 name: "ld"
904 path: "linaro_linux_gcc/arm-linux-gnueabihf-ld"
905 }
906 tool_path {
907 name: "nm"
908 path: "linaro_linux_gcc/arm-linux-gnueabihf-nm"
909 }
910 tool_path {
911 name: "objcopy"
912 path: "linaro_linux_gcc/arm-linux-gnueabihf-objcopy"
913 }
914 tool_path {
915 name: "objdump"
916 path: "linaro_linux_gcc/arm-linux-gnueabihf-objdump"
917 }
918 tool_path {
919 name: "strip"
920 path: "linaro_linux_gcc/arm-linux-gnueabihf-strip"
921 }
922 supports_gold_linker: false
923 supports_thin_archives: true
924 needsPic: true
925 compiler_flag: "-target"
926 compiler_flag: "armv7a-arm-linux-gnueabif"
927 compiler_flag: "--sysroot=external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc"
928 compiler_flag: "-mfloat-abi=hard"
929 compiler_flag: "-mfpu=vfpv3-d16"
930 compiler_flag: "-nostdinc"
931 compiler_flag: "-isystem"
932 compiler_flag: "/usr/lib/clang/3.6/include"
933 compiler_flag: "-isystem"
934 compiler_flag: "external/linaro_linux_gcc_4_9_repo/lib/gcc/arm-linux-gnueabihf/4.9.3/include"
935 compiler_flag: "-isystem"
936 compiler_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/usr/include"
937 compiler_flag: "-isystem"
938 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 -0700939 compiler_flag: "-D__STDC_FORMAT_MACROS"
940 compiler_flag: "-D__STDC_CONSTANT_MACROS"
941 compiler_flag: "-D__STDC_LIMIT_MACROS"
942 compiler_flag: "-D_FILE_OFFSET_BITS=64"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700943 compiler_flag: "-DAOS_ARCHITECTURE_armhf"
Austin Schuh23da18b2015-10-11 20:52:49 -0700944 compiler_flag: "-U_FORTIFY_SOURCE"
945 compiler_flag: "-fstack-protector"
946 compiler_flag: "-fPIE"
Austin Schuh23da18b2015-10-11 20:52:49 -0700947 compiler_flag: "-fdiagnostics-color=always"
Austin Schuh23da18b2015-10-11 20:52:49 -0700948 compiler_flag: "-Wall"
949 compiler_flag: "-Wextra"
Austin Schuh23da18b2015-10-11 20:52:49 -0700950 compiler_flag: "-Wpointer-arith"
Brian Silverman594be0d2015-10-31 17:56:23 -0400951 compiler_flag: "-Wstrict-aliasing"
Austin Schuh23da18b2015-10-11 20:52:49 -0700952 compiler_flag: "-Wcast-qual"
953 compiler_flag: "-Wcast-align"
954 compiler_flag: "-Wwrite-strings"
955 compiler_flag: "-Wtype-limits"
956 compiler_flag: "-Wsign-compare"
957 compiler_flag: "-Wformat=2"
958 compiler_flag: "-Werror"
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500959 compiler_flag: "-Wunused-local-typedefs"
Austin Schuh23da18b2015-10-11 20:52:49 -0700960 compiler_flag: "-fno-omit-frame-pointer"
Austin Schuh23da18b2015-10-11 20:52:49 -0700961 compiler_flag: "-pipe"
Brian Silvermand2540402015-11-28 18:35:00 -0500962 compiler_flag: "-ggdb3"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500963 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800964 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 -0500965 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800966 cxx_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/include/c++/4.9.3"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500967 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800968 cxx_flag: "external/linaro_linux_gcc_4_9_repo/include/c++/4.9.3/arm-linux-gnueabihf"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500969 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800970 cxx_flag: "external/linaro_linux_gcc_4_9_repo/include/c++/4.9.3"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500971 linker_flag: "-target"
972 linker_flag: "armv7a-arm-linux-gnueabif"
Austin Schuh61660832016-03-04 21:56:39 -0800973 linker_flag: "--sysroot=external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500974 linker_flag: "-lstdc++"
975 linker_flag: "-Ltools/cpp/linaro_linux_gcc/clang_more_libs"
Austin Schuh61660832016-03-04 21:56:39 -0800976 linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/lib"
977 linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/lib"
978 linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/usr/lib"
979 linker_flag: "-Bexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/bin"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500980 linker_flag: "-Wl,--dynamic-linker=/lib/ld-linux-armhf.so.3"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700981 linker_flag: "-no-canonical-prefixes"
982 linker_flag: "-Wl,-z,relro,-z,now"
983 linker_flag: "-lm"
984 linker_flag: "-Wl,--build-id=md5"
985 linker_flag: "-Wl,--hash-style=gnu"
986 objcopy_embed_flag: "-I"
987 objcopy_embed_flag: "binary"
988 compilation_mode_flags {
989 mode: OPT
990 compiler_flag: "-O2"
991 compiler_flag: "-DNDEBUG"
992 compiler_flag: "-D_FORTIFY_SOURCE=1"
993 compiler_flag: "-ffunction-sections"
994 compiler_flag: "-fdata-sections"
995 linker_flag: "-Wl,--gc-sections"
996 }
997 linking_mode_flags {
998 mode: DYNAMIC
999 }
1000 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//include)%"
1001 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/usr/include)%"
1002 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/usr/lib/include)%"
1003 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)%"
1004 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//include)%/c++/4.9.3"
1005 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/4.9.3/include)%"
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-fixed)%"
1007 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//lib/gcc/arm-linux-gnueabihf/4.9.3/include)%"
1008 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed)%"
1009 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/include)%/c++/4.9.3"
1010 cxx_builtin_include_directory: "/usr/lib/clang/3.6/include"
1011 builtin_sysroot: ""
1012 unfiltered_cxx_flag: "-no-canonical-prefixes"
1013 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
1014 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
1015 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
1016 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
1017 supports_normalizing_ar: true
1018 supports_start_end_lib: false
1019 supports_interface_shared_objects: false
1020 supports_incremental_linker: false
1021 supports_fission: false
Brian Silverman0d57fc82016-01-24 21:02:53 -05001022 feature {
1023 name: "opt"
Brian Silverman0d57fc82016-01-24 21:02:53 -05001024 flag_set {
1025 action: "preprocess-assemble"
1026 action: "c-compile"
1027 action: "c++-compile"
1028 action: "c++-header-parsing"
1029 action: "c++-header-preprocessing"
1030 action: "c++-module-compile"
1031 flag_group {
1032 flag: "-DAOS_DEBUG=0"
1033 }
1034 }
Brian Silverman7b8899e2018-06-30 19:19:24 -07001035 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -05001036 }
Brian Silverman0d57fc82016-01-24 21:02:53 -05001037 feature {
1038 name: "dbg"
Brian Silverman0d57fc82016-01-24 21:02:53 -05001039 flag_set {
1040 action: "preprocess-assemble"
1041 action: "c-compile"
1042 action: "c++-compile"
1043 action: "c++-header-parsing"
1044 action: "c++-header-preprocessing"
1045 action: "c++-module-compile"
1046 flag_group {
1047 flag: "-DAOS_DEBUG=1"
1048 }
1049 flag_group {
1050 flag: "-fno-omit-frame-pointer"
1051 }
1052 }
Brian Silverman7b8899e2018-06-30 19:19:24 -07001053 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -05001054 }
Brian Silverman0d57fc82016-01-24 21:02:53 -05001055 feature {
1056 name: "fastbuild"
Brian Silverman0d57fc82016-01-24 21:02:53 -05001057 flag_set {
1058 action: "preprocess-assemble"
1059 action: "c-compile"
1060 action: "c++-compile"
1061 action: "c++-header-parsing"
1062 action: "c++-header-preprocessing"
1063 action: "c++-module-compile"
1064 flag_group {
1065 flag: "-DAOS_DEBUG=0"
1066 }
1067 }
Brian Silverman7b8899e2018-06-30 19:19:24 -07001068 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -05001069 }
Brian Silverman0d57fc82016-01-24 21:02:53 -05001070 feature {
1071 name: "all_modes"
1072 flag_set {
1073 action: "preprocess-assemble"
1074 action: "assemble"
1075 action: "c-compile"
1076 flag_group {
1077 flag: "-std=gnu99"
1078 }
1079 }
1080 flag_set {
1081 action: "c++-compile"
1082 action: "c++-header-parsing"
1083 action: "c++-header-preprocessing"
1084 action: "c++-module-compile"
1085 flag_group {
1086 flag: "-std=gnu++1y"
1087 }
1088 }
1089 flag_set {
1090 action: "preprocess-assemble"
1091 action: "assemble"
1092 action: "c++-link"
1093 action: "c++-compile"
1094 action: "c++-header-parsing"
1095 action: "c++-header-preprocessing"
1096 action: "c++-module-compile"
1097 action: "c-compile"
1098 flag_group {
Brian Silverman0d57fc82016-01-24 21:02:53 -05001099 flag: "-pthread"
1100 }
1101 }
1102 }
Austin Schuh137d9452018-07-07 15:42:36 -07001103 feature {
1104 name: "pie_for_linking"
Austin Schuh137d9452018-07-07 15:42:36 -07001105 flag_set {
1106 action: "c++-link-executable"
1107 flag_group {
1108 flag: "-pie"
1109 }
1110 }
Brian Silverman7b8899e2018-06-30 19:19:24 -07001111 enabled: true
Austin Schuh137d9452018-07-07 15:42:36 -07001112 }
Brian Silverman0d57fc82016-01-24 21:02:53 -05001113}
Brian Silverman8b638692017-06-26 23:10:26 -07001114toolchain {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001115 toolchain_identifier: "cortex-m4f"
1116 host_system_name: "local"
1117 target_system_name: "cortex-m4f"
1118 target_cpu: "cortex-m4f"
1119 target_libc: "cortex-m4f"
1120 compiler: "gcc"
Brian Silverman8b638692017-06-26 23:10:26 -07001121 abi_version: "cortex-m4f"
1122 abi_libc_version: "cortex-m4f"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001123 tool_path {
1124 name: "ar"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001125 path: "gcc_arm_none_eabi/arm-none-eabi-ar"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001126 }
1127 tool_path {
1128 name: "compat-ld"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001129 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001130 }
1131 tool_path {
1132 name: "cpp"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001133 path: "gcc_arm_none_eabi/arm-none-eabi-cpp"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001134 }
1135 tool_path {
1136 name: "dwp"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001137 path: "gcc_arm_none_eabi/arm-none-eabi-dwp"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001138 }
1139 tool_path {
1140 name: "gcc"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001141 path: "gcc_arm_none_eabi/arm-none-eabi-gcc"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001142 }
1143 tool_path {
1144 name: "gcov"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001145 path: "gcc_arm_none_eabi/arm-none-eabi-gcov"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001146 }
1147 tool_path {
1148 name: "ld"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001149 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001150 }
1151 tool_path {
1152 name: "nm"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001153 path: "gcc_arm_none_eabi/arm-none-eabi-nm"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001154 }
1155 tool_path {
1156 name: "objcopy"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001157 path: "gcc_arm_none_eabi/arm-none-eabi-objcopy"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001158 }
1159 tool_path {
1160 name: "objdump"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001161 path: "gcc_arm_none_eabi/arm-none-eabi-objdump"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001162 }
1163 tool_path {
1164 name: "strip"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001165 path: "gcc_arm_none_eabi/arm-none-eabi-strip"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001166 }
Brian Silverman8b638692017-06-26 23:10:26 -07001167 supports_gold_linker: false
Brian Silverman8b638692017-06-26 23:10:26 -07001168 supports_thin_archives: false
Brian Silverman7b8899e2018-06-30 19:19:24 -07001169 needsPic: false
1170 compiler_flag: "-D__STDC_FORMAT_MACROS"
1171 compiler_flag: "-D__STDC_CONSTANT_MACROS"
1172 compiler_flag: "-D__STDC_LIMIT_MACROS"
1173 compiler_flag: "-D__MK64FX512__"
1174 compiler_flag: "-DF_CPU=120000000"
1175 compiler_flag: "-Wl,--gc-sections"
1176 compiler_flag: "-D__have_long32"
1177 compiler_flag: "-fstack-protector"
1178 compiler_flag: "-mcpu=cortex-m4"
1179 compiler_flag: "-mfpu=fpv4-sp-d16"
1180 compiler_flag: "-mthumb"
1181 compiler_flag: "-mfloat-abi=hard"
1182 compiler_flag: "-fno-strict-aliasing"
1183 compiler_flag: "-fmessage-length=80"
1184 compiler_flag: "-fmax-errors=20"
1185 compiler_flag: "-Wall"
1186 compiler_flag: "-Wextra"
1187 compiler_flag: "-Wpointer-arith"
1188 compiler_flag: "-Wcast-qual"
1189 compiler_flag: "-Wwrite-strings"
1190 compiler_flag: "-Wtype-limits"
1191 compiler_flag: "-Wsign-compare"
1192 compiler_flag: "-Wformat=2"
1193 compiler_flag: "-Werror"
1194 compiler_flag: "-Wstrict-aliasing=2"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001195 compiler_flag: "-Wno-misleading-indentation"
1196 compiler_flag: "-Wno-int-in-bool-context"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001197 compiler_flag: "-Wdouble-promotion"
1198 compiler_flag: "-pipe"
1199 compiler_flag: "-g"
1200 compiler_flag: "-fno-common"
1201 compiler_flag: "-ffreestanding"
1202 compiler_flag: "-fbuiltin"
1203 linker_flag: "-no-canonical-prefixes"
1204 linker_flag: "-mcpu=cortex-m4"
1205 linker_flag: "-mfpu=fpv4-sp-d16"
1206 linker_flag: "-mthumb"
1207 linker_flag: "-mfloat-abi=hard"
1208 linker_flag: "-fno-strict-aliasing"
1209 linker_flag: "--specs=nano.specs"
1210 linker_flag: "-lgcc"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001211 linker_flag: "-lstdc++_nano"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001212 linker_flag: "-lm"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001213 linker_flag: "-lc_nano"
Brian Silvermand4dc1262018-09-23 16:50:34 -07001214 linker_flag: "-Tmotors/core/kinetis_512_256.ld"
1215 linker_flag: "-Tmotors/core/kinetis_sections.ld"
Brian Silverman8b638692017-06-26 23:10:26 -07001216 objcopy_embed_flag: "-I"
1217 objcopy_embed_flag: "binary"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001218 compilation_mode_flags {
1219 mode: OPT
1220 compiler_flag: "-O2"
1221 compiler_flag: "-finline-functions"
1222 compiler_flag: "-ffast-math"
1223 compiler_flag: "-funroll-loops"
1224 compiler_flag: "-DNDEBUG"
1225 compiler_flag: "-ffunction-sections"
1226 linker_flag: "-Wl,--gc-sections"
1227 }
1228 linking_mode_flags {
1229 mode: FULLY_STATIC
1230 }
1231 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include"
1232 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include-fixed"
1233 cxx_builtin_include_directory: "/usr/lib/arm-none-eabi/include"
1234 cxx_builtin_include_directory: "/usr/include/newlib"
1235 builtin_sysroot: ""
1236 unfiltered_cxx_flag: "-no-canonical-prefixes"
1237 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
1238 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
1239 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
1240 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
1241 supports_normalizing_ar: false
1242 supports_start_end_lib: false
1243 supports_interface_shared_objects: false
1244 supports_incremental_linker: false
1245 supports_fission: false
Brian Silverman8b638692017-06-26 23:10:26 -07001246 feature {
1247 name: "dbg"
Brian Silverman8b638692017-06-26 23:10:26 -07001248 flag_set {
1249 action: "preprocess-assemble"
1250 action: "c-compile"
1251 action: "c++-compile"
1252 action: "c++-header-parsing"
1253 action: "c++-header-preprocessing"
1254 action: "c++-module-compile"
1255 flag_group {
1256 flag: "-fno-omit-frame-pointer"
1257 }
1258 }
Brian Silverman7b8899e2018-06-30 19:19:24 -07001259 implies: "all_modes"
Brian Silverman8b638692017-06-26 23:10:26 -07001260 }
Brian Silverman8b638692017-06-26 23:10:26 -07001261 feature {
1262 name: "opt"
1263 implies: "all_modes"
1264 }
1265 feature {
1266 name: "fastbuild"
1267 implies: "all_modes"
1268 }
Brian Silverman8b638692017-06-26 23:10:26 -07001269 feature {
1270 name: "all_modes"
1271 flag_set {
1272 action: "preprocess-assemble"
1273 action: "assemble"
1274 action: "c-compile"
1275 flag_group {
1276 flag: "--std=gnu99"
1277 }
1278 }
1279 flag_set {
1280 action: "c++-compile"
1281 action: "c++-header-parsing"
1282 action: "c++-header-preprocessing"
1283 action: "c++-module-compile"
1284 flag_group {
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001285 flag: "--std=gnu++1y"
1286 flag: "-fno-exceptions"
1287 flag: "-fno-rtti"
1288 }
1289 }
1290 }
1291 feature {
1292 name: "include_paths"
1293 flag_set {
1294 action: "preprocess-assemble"
1295 action: "c-compile"
1296 action: "c++-compile"
1297 action: "c++-header-parsing"
1298 action: "c++-header-preprocessing"
1299 action: "c++-module-compile"
1300 flag_group {
1301 flag: "-iquote"
1302 flag: "%{quote_include_paths}"
1303 iterate_over: "quote_include_paths"
1304 }
1305 flag_group {
1306 flag: "-I%{include_paths}"
1307 iterate_over: "include_paths"
1308 }
1309 flag_group {
1310 flag: "-I"
1311 flag: "%{system_include_paths}"
1312 iterate_over: "system_include_paths"
1313 }
1314 }
1315 }
1316}
1317toolchain {
1318 toolchain_identifier: "cortex-m4f-k22"
1319 host_system_name: "local"
1320 target_system_name: "cortex-m4f-k22"
1321 target_cpu: "cortex-m4f-k22"
1322 target_libc: "cortex-m4f-k22"
1323 compiler: "gcc"
1324 abi_version: "cortex-m4f-k22"
1325 abi_libc_version: "cortex-m4f-k22"
1326 tool_path {
1327 name: "ar"
1328 path: "gcc_arm_none_eabi/arm-none-eabi-ar"
1329 }
1330 tool_path {
1331 name: "compat-ld"
1332 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
1333 }
1334 tool_path {
1335 name: "cpp"
1336 path: "gcc_arm_none_eabi/arm-none-eabi-cpp"
1337 }
1338 tool_path {
1339 name: "dwp"
1340 path: "gcc_arm_none_eabi/arm-none-eabi-dwp"
1341 }
1342 tool_path {
1343 name: "gcc"
1344 path: "gcc_arm_none_eabi/arm-none-eabi-gcc"
1345 }
1346 tool_path {
1347 name: "gcov"
1348 path: "gcc_arm_none_eabi/arm-none-eabi-gcov"
1349 }
1350 tool_path {
1351 name: "ld"
1352 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
1353 }
1354 tool_path {
1355 name: "nm"
1356 path: "gcc_arm_none_eabi/arm-none-eabi-nm"
1357 }
1358 tool_path {
1359 name: "objcopy"
1360 path: "gcc_arm_none_eabi/arm-none-eabi-objcopy"
1361 }
1362 tool_path {
1363 name: "objdump"
1364 path: "gcc_arm_none_eabi/arm-none-eabi-objdump"
1365 }
1366 tool_path {
1367 name: "strip"
1368 path: "gcc_arm_none_eabi/arm-none-eabi-strip"
1369 }
1370 supports_gold_linker: false
1371 supports_thin_archives: false
1372 needsPic: false
1373 compiler_flag: "-D__STDC_FORMAT_MACROS"
1374 compiler_flag: "-D__STDC_CONSTANT_MACROS"
1375 compiler_flag: "-D__STDC_LIMIT_MACROS"
1376 compiler_flag: "-D__MK22FX512__"
1377 compiler_flag: "-DF_CPU=120000000"
1378 compiler_flag: "-Wl,--gc-sections"
1379 compiler_flag: "-D__have_long32"
1380 compiler_flag: "-fstack-protector"
1381 compiler_flag: "-mcpu=cortex-m4"
1382 compiler_flag: "-mfpu=fpv4-sp-d16"
1383 compiler_flag: "-mthumb"
1384 compiler_flag: "-mfloat-abi=hard"
1385 compiler_flag: "-fno-strict-aliasing"
1386 compiler_flag: "-fmessage-length=80"
1387 compiler_flag: "-fmax-errors=20"
1388 compiler_flag: "-Wall"
1389 compiler_flag: "-Wextra"
1390 compiler_flag: "-Wpointer-arith"
1391 compiler_flag: "-Wcast-qual"
1392 compiler_flag: "-Wwrite-strings"
1393 compiler_flag: "-Wtype-limits"
1394 compiler_flag: "-Wsign-compare"
1395 compiler_flag: "-Wformat=2"
1396 compiler_flag: "-Werror"
1397 compiler_flag: "-Wstrict-aliasing=2"
1398 compiler_flag: "-Wno-misleading-indentation"
1399 compiler_flag: "-Wno-int-in-bool-context"
1400 compiler_flag: "-Wdouble-promotion"
1401 compiler_flag: "-pipe"
1402 compiler_flag: "-g"
1403 compiler_flag: "-fno-common"
1404 compiler_flag: "-ffreestanding"
1405 compiler_flag: "-fbuiltin"
1406 linker_flag: "-no-canonical-prefixes"
1407 linker_flag: "-mcpu=cortex-m4"
1408 linker_flag: "-mfpu=fpv4-sp-d16"
1409 linker_flag: "-mthumb"
1410 linker_flag: "-mfloat-abi=hard"
1411 linker_flag: "-fno-strict-aliasing"
1412 linker_flag: "--specs=nano.specs"
1413 linker_flag: "-lgcc"
1414 linker_flag: "-lstdc++_nano"
1415 linker_flag: "-lm"
1416 linker_flag: "-lc_nano"
Brian Silvermand4dc1262018-09-23 16:50:34 -07001417 linker_flag: "-Tmotors/core/kinetis_512_128.ld"
1418 linker_flag: "-Tmotors/core/kinetis_sections.ld"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001419 objcopy_embed_flag: "-I"
1420 objcopy_embed_flag: "binary"
1421 compilation_mode_flags {
1422 mode: OPT
1423 compiler_flag: "-O2"
1424 compiler_flag: "-finline-functions"
1425 compiler_flag: "-ffast-math"
1426 compiler_flag: "-funroll-loops"
1427 compiler_flag: "-DNDEBUG"
1428 compiler_flag: "-ffunction-sections"
1429 linker_flag: "-Wl,--gc-sections"
1430 }
1431 linking_mode_flags {
1432 mode: FULLY_STATIC
1433 }
1434 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include"
1435 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include-fixed"
1436 cxx_builtin_include_directory: "/usr/lib/arm-none-eabi/include"
1437 cxx_builtin_include_directory: "/usr/include/newlib"
1438 builtin_sysroot: ""
1439 unfiltered_cxx_flag: "-no-canonical-prefixes"
1440 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
1441 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
1442 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
1443 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
1444 supports_normalizing_ar: false
1445 supports_start_end_lib: false
1446 supports_interface_shared_objects: false
1447 supports_incremental_linker: false
1448 supports_fission: false
1449 feature {
1450 name: "dbg"
1451 flag_set {
1452 action: "preprocess-assemble"
1453 action: "c-compile"
1454 action: "c++-compile"
1455 action: "c++-header-parsing"
1456 action: "c++-header-preprocessing"
1457 action: "c++-module-compile"
1458 flag_group {
1459 flag: "-fno-omit-frame-pointer"
1460 }
1461 }
1462 implies: "all_modes"
1463 }
1464 feature {
1465 name: "opt"
1466 implies: "all_modes"
1467 }
1468 feature {
1469 name: "fastbuild"
1470 implies: "all_modes"
1471 }
1472 feature {
1473 name: "all_modes"
1474 flag_set {
1475 action: "preprocess-assemble"
1476 action: "assemble"
1477 action: "c-compile"
1478 flag_group {
1479 flag: "--std=gnu99"
1480 }
1481 }
1482 flag_set {
1483 action: "c++-compile"
1484 action: "c++-header-parsing"
1485 action: "c++-header-preprocessing"
1486 action: "c++-module-compile"
1487 flag_group {
1488 flag: "--std=gnu++1y"
Brian Silverman8b638692017-06-26 23:10:26 -07001489 flag: "-fno-exceptions"
1490 flag: "-fno-rtti"
1491 }
1492 }
1493 }
Brian Silverman8b638692017-06-26 23:10:26 -07001494 feature {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001495 name: "include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001496 flag_set {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001497 action: "preprocess-assemble"
1498 action: "c-compile"
1499 action: "c++-compile"
1500 action: "c++-header-parsing"
1501 action: "c++-header-preprocessing"
1502 action: "c++-module-compile"
Brian Silverman8b638692017-06-26 23:10:26 -07001503 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001504 flag: "-iquote"
1505 flag: "%{quote_include_paths}"
1506 iterate_over: "quote_include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001507 }
1508 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001509 flag: "-I%{include_paths}"
1510 iterate_over: "include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001511 }
1512 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001513 flag: "-I"
1514 flag: "%{system_include_paths}"
1515 iterate_over: "system_include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001516 }
1517 }
1518 }
1519}