Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1 | # GENERATED FILE. DO NOT EDIT |
| 2 | # Generated by tools/cpp/gen_crosstool.py |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 3 | major_version: "local" |
| 4 | minor_version: "" |
| 5 | default_target_cpu: "same_as_host" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 6 | default_toolchain { |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 7 | cpu: "roborio" |
| 8 | toolchain_identifier: "roborio_linux" |
| 9 | } |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 10 | default_toolchain { |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 11 | cpu: "k8" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 12 | toolchain_identifier: "k8_linux" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 13 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 14 | default_toolchain { |
| 15 | cpu: "armeabi-v7a" |
| 16 | toolchain_identifier: "stub_armeabi-v7a" |
| 17 | } |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 18 | default_toolchain { |
James Kuszmaul | 27da814 | 2019-07-21 16:13:55 -0700 | [diff] [blame] | 19 | cpu: "web" |
| 20 | toolchain_identifier: "emscripten_toolchain" |
| 21 | } |
| 22 | default_toolchain { |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 23 | cpu: "armhf-debian" |
| 24 | toolchain_identifier: "clang_linux_armhf" |
| 25 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 26 | default_toolchain { |
| 27 | cpu: "cortex-m4f" |
| 28 | toolchain_identifier: "cortex-m4f" |
| 29 | } |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 30 | default_toolchain { |
| 31 | cpu: "cortex-m4f-k22" |
| 32 | toolchain_identifier: "cortex-m4f-k22" |
| 33 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 34 | toolchain { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 35 | 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 Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 41 | abi_version: "armeabi-v7a" |
| 42 | abi_libc_version: "armeabi-v7a" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 43 | 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 Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 87 | supports_gold_linker: false |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 88 | supports_thin_archives: false |
| 89 | needsPic: true |
| 90 | builtin_sysroot: "" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 91 | supports_normalizing_ar: false |
| 92 | supports_start_end_lib: false |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 93 | supports_interface_shared_objects: false |
| 94 | supports_incremental_linker: false |
| 95 | supports_fission: false |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 96 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 97 | toolchain { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 98 | 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 Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 104 | abi_version: "local" |
| 105 | abi_libc_version: "local" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 106 | tool_path { |
| 107 | name: "ar" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 108 | path: "clang_6p0/x86_64-linux-gnu-ar" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 109 | } |
| 110 | tool_path { |
| 111 | name: "compat-ld" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 112 | path: "clang_6p0/x86_64-linux-gnu-ld" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 113 | } |
| 114 | tool_path { |
| 115 | name: "cpp" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 116 | path: "clang_6p0/x86_64-linux-gnu-cpp" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 117 | } |
| 118 | tool_path { |
| 119 | name: "dwp" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 120 | path: "clang_6p0/x86_64-linux-gnu-dwp" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 121 | } |
| 122 | tool_path { |
| 123 | name: "gcc" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 124 | path: "clang_6p0/x86_64-linux-gnu-clang-6.0" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 125 | } |
| 126 | tool_path { |
| 127 | name: "gcov" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 128 | path: "clang_6p0/x86_64-linux-gnu-gcov" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 129 | } |
| 130 | tool_path { |
| 131 | name: "ld" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 132 | path: "clang_6p0/x86_64-linux-gnu-ld" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 133 | } |
| 134 | tool_path { |
| 135 | name: "nm" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 136 | path: "clang_6p0/x86_64-linux-gnu-nm" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 137 | } |
| 138 | tool_path { |
| 139 | name: "objcopy" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 140 | path: "clang_6p0/x86_64-linux-gnu-objcopy" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 141 | } |
| 142 | tool_path { |
| 143 | name: "objdump" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 144 | path: "clang_6p0/x86_64-linux-gnu-objdump" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 145 | } |
| 146 | tool_path { |
| 147 | name: "strip" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 148 | path: "clang_6p0/x86_64-linux-gnu-strip" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 149 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 150 | supports_gold_linker: false |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 151 | supports_thin_archives: false |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 152 | needsPic: true |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 153 | compiler_flag: "--sysroot=external/clang_6p0_repo/" |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 154 | compiler_flag: "-nostdinc" |
| 155 | compiler_flag: "-isystem" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 156 | compiler_flag: "external/clang_6p0_repo/usr/include/x86_64-linux-gnu" |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 157 | compiler_flag: "-isystem" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 158 | compiler_flag: "external/clang_6p0_repo/usr/lib/llvm-6.0/lib/clang/6.0.0/include" |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 159 | compiler_flag: "-isystem" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 160 | compiler_flag: "external/clang_6p0_repo/usr/include/c++/7.4.0" |
| 161 | compiler_flag: "-isystem" |
| 162 | compiler_flag: "external/clang_6p0_repo/usr/include/x86_64-linux-gnu/c++/7.4.0" |
| 163 | compiler_flag: "-isystem" |
| 164 | compiler_flag: "external/clang_6p0_repo/usr/include/c++/7.4.0/backward" |
| 165 | compiler_flag: "-isystem" |
| 166 | compiler_flag: "external/clang_6p0_repo/usr/include" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 167 | compiler_flag: "-D__STDC_FORMAT_MACROS" |
| 168 | compiler_flag: "-D__STDC_CONSTANT_MACROS" |
| 169 | compiler_flag: "-D__STDC_LIMIT_MACROS" |
| 170 | compiler_flag: "-D_FILE_OFFSET_BITS=64" |
| 171 | compiler_flag: "-DAOS_ARCHITECTURE_arm_frc" |
| 172 | compiler_flag: "-U_FORTIFY_SOURCE" |
| 173 | compiler_flag: "-D_FORTIFY_SOURCE=1" |
| 174 | compiler_flag: "-fstack-protector" |
| 175 | compiler_flag: "-fPIE" |
| 176 | compiler_flag: "-fcolor-diagnostics" |
| 177 | compiler_flag: "-fmessage-length=80" |
| 178 | compiler_flag: "-fmacro-backtrace-limit=0" |
| 179 | compiler_flag: "-Wall" |
| 180 | compiler_flag: "-Wextra" |
| 181 | compiler_flag: "-Wpointer-arith" |
| 182 | compiler_flag: "-Wstrict-aliasing" |
| 183 | compiler_flag: "-Wcast-qual" |
| 184 | compiler_flag: "-Wcast-align" |
| 185 | compiler_flag: "-Wwrite-strings" |
| 186 | compiler_flag: "-Wtype-limits" |
| 187 | compiler_flag: "-Wsign-compare" |
| 188 | compiler_flag: "-Wformat=2" |
| 189 | compiler_flag: "-Werror" |
| 190 | compiler_flag: "-fno-omit-frame-pointer" |
| 191 | compiler_flag: "-pipe" |
| 192 | compiler_flag: "-ggdb3" |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 193 | cxx_flag: "-isystem" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 194 | cxx_flag: "external/clang_6p0_repo/usr/include" |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 195 | linker_flag: "-nodefaultlibs" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 196 | linker_flag: "--sysroot=external/clang_6p0_repo/" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 197 | linker_flag: "-lstdc++" |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 198 | linker_flag: "-lc" |
| 199 | linker_flag: "-lgcc" |
| 200 | linker_flag: "-lgcc_s" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 201 | linker_flag: "-Bexternal/clang_6p0_repo/usr/bin/" |
| 202 | linker_flag: "-Ltools/cpp/clang_6p0/clang_more_libs" |
| 203 | linker_flag: "-Lexternal/clang_6p0_repo/lib/x86_64-linux-gnu" |
| 204 | linker_flag: "-Lexternal/clang_6p0_repo/usr/lib/x86_64-linux-gnu" |
| 205 | linker_flag: "-Lexternal/clang_6p0_repo/usr/lib/gcc/x86_64-linux-gnu" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 206 | linker_flag: "-no-canonical-prefixes" |
| 207 | linker_flag: "-fuse-ld=gold" |
| 208 | linker_flag: "-Wl,-z,relro,-z,now" |
| 209 | linker_flag: "-lm" |
| 210 | linker_flag: "-Wl,--build-id=md5" |
| 211 | linker_flag: "-Wl,--hash-style=gnu" |
| 212 | linker_flag: "-Wl,--warn-execstack" |
| 213 | linker_flag: "-Wl,--detect-odr-violations" |
| 214 | objcopy_embed_flag: "-I" |
| 215 | objcopy_embed_flag: "binary" |
| 216 | compilation_mode_flags { |
| 217 | mode: OPT |
| 218 | compiler_flag: "-O2" |
| 219 | compiler_flag: "-DNDEBUG" |
| 220 | compiler_flag: "-ffunction-sections" |
| 221 | compiler_flag: "-fdata-sections" |
| 222 | linker_flag: "-Wl,--gc-sections" |
| 223 | } |
| 224 | linking_mode_flags { |
| 225 | mode: DYNAMIC |
| 226 | } |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 227 | cxx_builtin_include_directory: "%package(@clang_6p0_repo//usr)%/include/c++/7.4.0" |
| 228 | cxx_builtin_include_directory: "%package(@clang_6p0_repo//usr)%/include/x86_64-linux-gnu/c++/7.4.0" |
| 229 | cxx_builtin_include_directory: "%package(@clang_6p0_repo//usr)%/include/c++/7.4.0/backward" |
| 230 | cxx_builtin_include_directory: "%package(@clang_6p0_repo//usr)%/local/include" |
| 231 | cxx_builtin_include_directory: "%package(@clang_6p0_repo//usr)%/lib/llvm-6.0/lib/clang/6.0.0/include" |
| 232 | cxx_builtin_include_directory: "%package(@clang_6p0_repo//usr)%/include/x86_64-linux-gnu" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 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\"" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 239 | unfiltered_cxx_flag: "-Wno-varargs" |
| 240 | unfiltered_cxx_flag: "-Wno-null-pointer-arithmetic" |
| 241 | unfiltered_cxx_flag: "-Wno-mismatched-new-delete" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 242 | supports_normalizing_ar: false |
| 243 | supports_start_end_lib: false |
| 244 | supports_interface_shared_objects: false |
| 245 | supports_incremental_linker: false |
| 246 | supports_fission: false |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 247 | feature { |
| 248 | name: "opt" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 249 | flag_set { |
| 250 | action: "preprocess-assemble" |
| 251 | action: "c-compile" |
| 252 | action: "c++-compile" |
| 253 | action: "c++-header-parsing" |
| 254 | action: "c++-header-preprocessing" |
| 255 | action: "c++-module-compile" |
| 256 | flag_group { |
| 257 | flag: "-DAOS_DEBUG=0" |
| 258 | } |
| 259 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 260 | implies: "all_modes" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 261 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 262 | feature { |
| 263 | name: "dbg" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 264 | flag_set { |
| 265 | action: "preprocess-assemble" |
| 266 | action: "c-compile" |
| 267 | action: "c++-compile" |
| 268 | action: "c++-header-parsing" |
| 269 | action: "c++-header-preprocessing" |
| 270 | action: "c++-module-compile" |
| 271 | flag_group { |
| 272 | flag: "-DAOS_DEBUG=1" |
| 273 | } |
Brian Silverman | a4a4ea6 | 2015-11-27 10:27:53 -0500 | [diff] [blame] | 274 | flag_group { |
| 275 | flag: "-fno-omit-frame-pointer" |
| 276 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 277 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 278 | implies: "all_modes" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 279 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 280 | feature { |
| 281 | name: "fastbuild" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 282 | flag_set { |
| 283 | action: "preprocess-assemble" |
| 284 | action: "c-compile" |
| 285 | action: "c++-compile" |
| 286 | action: "c++-header-parsing" |
| 287 | action: "c++-header-preprocessing" |
| 288 | action: "c++-module-compile" |
| 289 | flag_group { |
| 290 | flag: "-DAOS_DEBUG=0" |
| 291 | } |
| 292 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 293 | implies: "all_modes" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 294 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 295 | feature { |
| 296 | name: "all_modes" |
| 297 | flag_set { |
Austin Schuh | a20ae72 | 2015-11-01 12:29:38 -0800 | [diff] [blame] | 298 | action: "preprocess-assemble" |
| 299 | action: "assemble" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 300 | action: "c-compile" |
| 301 | flag_group { |
| 302 | flag: "-std=gnu99" |
| 303 | } |
| 304 | } |
| 305 | flag_set { |
| 306 | action: "c++-compile" |
| 307 | action: "c++-header-parsing" |
| 308 | action: "c++-header-preprocessing" |
| 309 | action: "c++-module-compile" |
| 310 | flag_group { |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 311 | flag: "-std=gnu++1z" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 312 | } |
Brian Silverman | 23a1b34 | 2015-10-11 23:44:09 -0400 | [diff] [blame] | 313 | } |
| 314 | flag_set { |
| 315 | action: "preprocess-assemble" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 316 | action: "assemble" |
| 317 | action: "c++-link" |
Brian Silverman | 23a1b34 | 2015-10-11 23:44:09 -0400 | [diff] [blame] | 318 | action: "c++-compile" |
| 319 | action: "c++-header-parsing" |
| 320 | action: "c++-header-preprocessing" |
| 321 | action: "c++-module-compile" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 322 | action: "c-compile" |
Brian Silverman | 5dc0007 | 2015-10-12 00:38:14 -0400 | [diff] [blame] | 323 | flag_group { |
Brian Silverman | 5dc0007 | 2015-10-12 00:38:14 -0400 | [diff] [blame] | 324 | flag: "-pthread" |
| 325 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 326 | } |
| 327 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 328 | feature { |
| 329 | name: "pie_for_linking" |
| 330 | flag_set { |
| 331 | action: "c++-link-executable" |
| 332 | flag_group { |
| 333 | flag: "-pie" |
| 334 | } |
| 335 | } |
| 336 | enabled: true |
| 337 | } |
| 338 | } |
| 339 | toolchain { |
James Kuszmaul | 27da814 | 2019-07-21 16:13:55 -0700 | [diff] [blame] | 340 | toolchain_identifier: "emscripten_toolchain" |
| 341 | host_system_name: "web" |
| 342 | target_system_name: "emscripten-unknown-emscripten" |
| 343 | target_cpu: "web" |
| 344 | target_libc: "unknown" |
| 345 | compiler: "emscripten" |
| 346 | abi_version: "unknown" |
| 347 | abi_libc_version: "unknown" |
| 348 | tool_path { |
| 349 | name: "gcc" |
| 350 | path: "emscripten/emcc.sh" |
| 351 | } |
| 352 | tool_path { |
| 353 | name: "ld" |
| 354 | path: "emscripten/emcc.sh" |
| 355 | } |
| 356 | tool_path { |
| 357 | name: "ar" |
| 358 | path: "emscripten/emar.sh" |
| 359 | } |
| 360 | tool_path { |
| 361 | name: "cpp" |
| 362 | path: "/bin/false" |
| 363 | } |
| 364 | tool_path { |
| 365 | name: "gcov" |
| 366 | path: "/bin/false" |
| 367 | } |
| 368 | tool_path { |
| 369 | name: "nm" |
| 370 | path: "/bin/false" |
| 371 | } |
| 372 | tool_path { |
| 373 | name: "objdump" |
| 374 | path: "/bin/false" |
| 375 | } |
| 376 | tool_path { |
| 377 | name: "objcopy" |
| 378 | path: "/bin/false" |
| 379 | } |
| 380 | tool_path { |
| 381 | name: "strip" |
| 382 | path: "/bin/false" |
| 383 | } |
| 384 | compiler_flag: "-isystem" |
| 385 | compiler_flag: "external/emscripten_toolchain/system/include" |
| 386 | compiler_flag: "-fno-exceptions" |
| 387 | compiler_flag: "-fdiagnostics-color=always" |
| 388 | compiler_flag: "-Wall" |
| 389 | compiler_flag: "-Werror" |
| 390 | compiler_flag: "-ffunction-sections" |
| 391 | compiler_flag: "-fdata-sections" |
| 392 | linker_flag: "-no-canonical-prefixes" |
| 393 | unfiltered_cxx_flag: "-isystem" |
| 394 | unfiltered_cxx_flag: "external/emscripten_toolchain/system/include/libcxx" |
| 395 | unfiltered_cxx_flag: "-isystem" |
| 396 | unfiltered_cxx_flag: "external/emscripten_toolchain/system/lib/libcxxabi/include" |
| 397 | unfiltered_cxx_flag: "-isystem" |
| 398 | unfiltered_cxx_flag: "external/emscripten_toolchain/system/include/compat" |
| 399 | unfiltered_cxx_flag: "-isystem" |
| 400 | unfiltered_cxx_flag: "external/emscripten_toolchain/system/include" |
| 401 | unfiltered_cxx_flag: "-isystem" |
| 402 | unfiltered_cxx_flag: "external/emscripten_toolchain/system/include/SSE" |
| 403 | unfiltered_cxx_flag: "-isystem" |
| 404 | unfiltered_cxx_flag: "external/emscripten_toolchain/system/include/libc" |
| 405 | unfiltered_cxx_flag: "-isystem" |
| 406 | unfiltered_cxx_flag: "external/emscripten_toolchain/system/lib/libc/musl/arch/emscripten" |
| 407 | unfiltered_cxx_flag: "-isystem" |
| 408 | unfiltered_cxx_flag: "external/emscripten_toolchain/system/local/include" |
| 409 | unfiltered_cxx_flag: "-no-canonical-prefixes" |
| 410 | unfiltered_cxx_flag: "-Wno-builtin-macro-redefined" |
| 411 | unfiltered_cxx_flag: "-D__DATE__=\"redacted\"" |
| 412 | unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\"" |
| 413 | unfiltered_cxx_flag: "-D__TIME__=\"redacted\"" |
| 414 | feature { |
| 415 | name: "opt" |
| 416 | flag_set { |
| 417 | action: "preprocess-assemble" |
| 418 | action: "c-compile" |
| 419 | action: "c++-compile" |
| 420 | action: "c++-header-parsing" |
| 421 | action: "c++-header-preprocessing" |
| 422 | action: "c++-module-compile" |
| 423 | flag_group { |
| 424 | flag: "-DAOS_DEBUG=0" |
| 425 | flag: "-O2" |
| 426 | flag: "--closure" |
| 427 | flag: "1" |
| 428 | } |
| 429 | } |
| 430 | implies: "all_modes" |
| 431 | } |
| 432 | feature { |
| 433 | name: "dbg" |
| 434 | flag_set { |
| 435 | action: "preprocess-assemble" |
| 436 | action: "c-compile" |
| 437 | action: "c++-compile" |
| 438 | action: "c++-header-parsing" |
| 439 | action: "c++-header-preprocessing" |
| 440 | action: "c++-module-compile" |
| 441 | flag_group { |
| 442 | flag: "-DAOS_DEBUG=1" |
| 443 | } |
| 444 | flag_group { |
| 445 | flag: "-fno-omit-frame-pointer" |
| 446 | } |
| 447 | } |
| 448 | implies: "all_modes" |
| 449 | } |
| 450 | feature { |
| 451 | name: "fastbuild" |
| 452 | flag_set { |
| 453 | action: "preprocess-assemble" |
| 454 | action: "c-compile" |
| 455 | action: "c++-compile" |
| 456 | action: "c++-header-parsing" |
| 457 | action: "c++-header-preprocessing" |
| 458 | action: "c++-module-compile" |
| 459 | flag_group { |
| 460 | flag: "-DAOS_DEBUG=0" |
| 461 | } |
| 462 | } |
| 463 | implies: "all_modes" |
| 464 | } |
| 465 | feature { |
| 466 | name: "all_modes" |
| 467 | flag_set { |
| 468 | action: "preprocess-assemble" |
| 469 | action: "assemble" |
| 470 | action: "c-compile" |
| 471 | flag_group { |
| 472 | flag: "-std=gnu99" |
| 473 | } |
| 474 | } |
| 475 | flag_set { |
| 476 | action: "c++-compile" |
| 477 | action: "c++-header-parsing" |
| 478 | action: "c++-header-preprocessing" |
| 479 | action: "c++-module-compile" |
| 480 | flag_group { |
| 481 | flag: "-std=gnu++1y" |
| 482 | } |
| 483 | } |
| 484 | } |
| 485 | } |
| 486 | toolchain { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 487 | toolchain_identifier: "roborio_linux" |
| 488 | host_system_name: "roborio" |
| 489 | target_system_name: "roborio" |
| 490 | target_cpu: "roborio" |
| 491 | target_libc: "roborio" |
| 492 | compiler: "gcc" |
| 493 | abi_version: "roborio" |
| 494 | abi_libc_version: "roborio" |
| 495 | tool_path { |
| 496 | name: "ar" |
| 497 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ar" |
| 498 | } |
| 499 | tool_path { |
Austin Schuh | f6b9463 | 2019-02-02 22:11:27 -0800 | [diff] [blame] | 500 | name: "as" |
| 501 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-as" |
| 502 | } |
| 503 | tool_path { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 504 | name: "compat-ld" |
| 505 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ld" |
| 506 | } |
| 507 | tool_path { |
| 508 | name: "cpp" |
| 509 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-cpp" |
| 510 | } |
| 511 | tool_path { |
| 512 | name: "dwp" |
| 513 | path: "/bin/false" |
| 514 | } |
| 515 | tool_path { |
| 516 | name: "gcc" |
| 517 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcc" |
| 518 | } |
| 519 | tool_path { |
| 520 | name: "gcov" |
| 521 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcov-4.9" |
| 522 | } |
| 523 | tool_path { |
| 524 | name: "ld" |
| 525 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ld" |
| 526 | } |
| 527 | tool_path { |
| 528 | name: "nm" |
| 529 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-nm" |
| 530 | } |
| 531 | tool_path { |
| 532 | name: "objcopy" |
| 533 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-objcopy" |
| 534 | } |
| 535 | tool_path { |
| 536 | name: "objdump" |
| 537 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-objdump" |
| 538 | } |
| 539 | tool_path { |
| 540 | name: "strip" |
| 541 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-strip" |
| 542 | } |
| 543 | supports_gold_linker: false |
| 544 | supports_thin_archives: false |
| 545 | needsPic: true |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 546 | linker_flag: "-lstdc++" |
| 547 | linker_flag: "-Ltools/cpp/arm-frc-linux-gnueabi/libs" |
| 548 | linker_flag: "-no-canonical-prefixes" |
| 549 | linker_flag: "-Wl,-z,relro,-z,now" |
| 550 | linker_flag: "-lm" |
| 551 | linker_flag: "-pass-exit-codes" |
| 552 | linker_flag: "-Wl,--build-id=md5" |
| 553 | linker_flag: "-Wl,--hash-style=gnu" |
| 554 | objcopy_embed_flag: "-I" |
| 555 | objcopy_embed_flag: "binary" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 556 | linking_mode_flags { |
| 557 | mode: DYNAMIC |
| 558 | } |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 559 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//arm-frc2020-linux-gnueabi/usr/lib/gcc/arm-frc2020-linux-gnueabi/7.3.0/include)%" |
| 560 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//arm-frc2020-linux-gnueabi/usr/lib/gcc/arm-frc2020-linux-gnueabi/7.3.0/include-fixed)%" |
| 561 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//arm-frc2020-linux-gnueabi/usr/include/c++/7.3.0/arm-frc2020-linux-gnueabi)%" |
| 562 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//arm-frc2020-linux-gnueabi/usr/include/c++/7.3.0/backward)%" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 563 | builtin_sysroot: "" |
| 564 | unfiltered_cxx_flag: "-no-canonical-prefixes" |
| 565 | unfiltered_cxx_flag: "-Wno-builtin-macro-redefined" |
| 566 | unfiltered_cxx_flag: "-D__DATE__=\"redacted\"" |
| 567 | unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\"" |
| 568 | unfiltered_cxx_flag: "-D__TIME__=\"redacted\"" |
| 569 | supports_normalizing_ar: false |
| 570 | supports_start_end_lib: false |
| 571 | supports_interface_shared_objects: false |
| 572 | supports_incremental_linker: false |
| 573 | supports_fission: false |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 574 | feature { |
Austin Schuh | ef147de | 2018-10-27 21:19:00 -0700 | [diff] [blame] | 575 | name: "compile_flags1" |
| 576 | flag_set { |
| 577 | action: "assemble" |
| 578 | action: "preprocess-assemble" |
| 579 | action: "c-compile" |
| 580 | action: "c++-compile" |
| 581 | action: "c++-header-parsing" |
| 582 | action: "c++-module-compile" |
| 583 | action: "c++-module-codegen" |
| 584 | action: "lto-backend" |
| 585 | action: "clif-match" |
| 586 | flag_group { |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 587 | flag: "--sysroot=external/arm_frc_linux_gnueabi_repo/arm-frc2020-linux-gnueabi" |
Austin Schuh | ef147de | 2018-10-27 21:19:00 -0700 | [diff] [blame] | 588 | flag: "-nostdinc" |
| 589 | flag: "-isystem" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 590 | flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2020-linux-gnueabi/usr/lib/gcc/arm-frc2020-linux-gnueabi/7.3.0/include" |
Austin Schuh | ef147de | 2018-10-27 21:19:00 -0700 | [diff] [blame] | 591 | flag: "-isystem" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 592 | flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2020-linux-gnueabi/usr/lib/gcc/arm-frc2020-linux-gnueabi/7.3.0/include-fixed" |
Austin Schuh | f6b9463 | 2019-02-02 22:11:27 -0800 | [diff] [blame] | 593 | } |
| 594 | } |
| 595 | flag_set { |
James Kuszmaul | ebdeaf5 | 2019-05-22 20:31:25 -0700 | [diff] [blame] | 596 | action: "assemble" |
| 597 | action: "preprocess-assemble" |
| 598 | action: "c++-compile" |
| 599 | action: "c++-header-parsing" |
| 600 | action: "c++-header-preprocessing" |
| 601 | flag_group { |
| 602 | flag: "-fno-canonical-system-headers" |
| 603 | } |
| 604 | } |
| 605 | flag_set { |
Austin Schuh | f6b9463 | 2019-02-02 22:11:27 -0800 | [diff] [blame] | 606 | action: "c++-compile" |
| 607 | action: "c++-header-parsing" |
| 608 | action: "c++-module-compile" |
| 609 | action: "c++-module-codegen" |
| 610 | flag_group { |
Austin Schuh | ef147de | 2018-10-27 21:19:00 -0700 | [diff] [blame] | 611 | flag: "-isystem" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 612 | flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2020-linux-gnueabi/usr/include/c++/7.3.0" |
Austin Schuh | f6b9463 | 2019-02-02 22:11:27 -0800 | [diff] [blame] | 613 | flag: "-isystem" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 614 | flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2020-linux-gnueabi/usr/include/c++/7.3.0/arm-frc2020-linux-gnueabi" |
Austin Schuh | f6b9463 | 2019-02-02 22:11:27 -0800 | [diff] [blame] | 615 | flag: "-isystem" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 616 | flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2020-linux-gnueabi/usr/include/c++/7.3.0/backward" |
Austin Schuh | f6b9463 | 2019-02-02 22:11:27 -0800 | [diff] [blame] | 617 | } |
| 618 | } |
| 619 | flag_set { |
| 620 | action: "assemble" |
| 621 | action: "preprocess-assemble" |
| 622 | action: "c-compile" |
| 623 | action: "c++-compile" |
| 624 | action: "c++-header-parsing" |
| 625 | action: "c++-module-compile" |
| 626 | action: "c++-module-codegen" |
| 627 | action: "lto-backend" |
| 628 | action: "clif-match" |
| 629 | flag_group { |
| 630 | flag: "-isystem" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 631 | flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2020-linux-gnueabi/usr/include" |
Austin Schuh | ef147de | 2018-10-27 21:19:00 -0700 | [diff] [blame] | 632 | flag: "-mfpu=neon" |
| 633 | flag: "-D__STDC_FORMAT_MACROS" |
| 634 | flag: "-D__STDC_CONSTANT_MACROS" |
| 635 | flag: "-D__STDC_LIMIT_MACROS" |
| 636 | flag: "-D_FILE_OFFSET_BITS=64" |
| 637 | flag: "-DAOS_ARCHITECTURE_arm_frc" |
| 638 | flag: "-U_FORTIFY_SOURCE" |
| 639 | flag: "-fstack-protector" |
| 640 | flag: "-fPIE" |
| 641 | flag: "-fdiagnostics-color=always" |
| 642 | flag: "-Wall" |
| 643 | flag: "-Wextra" |
| 644 | flag: "-Wpointer-arith" |
| 645 | flag: "-Wstrict-aliasing" |
| 646 | flag: "-Wcast-qual" |
| 647 | flag: "-Wcast-align" |
| 648 | flag: "-Wwrite-strings" |
| 649 | flag: "-Wtype-limits" |
| 650 | flag: "-Wsign-compare" |
| 651 | flag: "-Wformat=2" |
| 652 | flag: "-Werror" |
| 653 | flag: "-Wunused-local-typedefs" |
Austin Schuh | cb10841 | 2019-10-13 16:09:54 -0700 | [diff] [blame] | 654 | flag: "-Wno-cast-align" |
Austin Schuh | ef147de | 2018-10-27 21:19:00 -0700 | [diff] [blame] | 655 | flag: "-fno-omit-frame-pointer" |
| 656 | flag: "-D__has_feature(x)=0" |
| 657 | flag: "-pipe" |
| 658 | flag: "-ggdb3" |
| 659 | } |
| 660 | } |
| 661 | enabled: true |
| 662 | } |
| 663 | feature { |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 664 | name: "opt" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 665 | flag_set { |
Austin Schuh | ef147de | 2018-10-27 21:19:00 -0700 | [diff] [blame] | 666 | action: "assemble" |
| 667 | action: "preprocess-assemble" |
| 668 | action: "c-compile" |
| 669 | action: "c++-compile" |
| 670 | action: "c++-module-compile" |
| 671 | action: "objc-compile" |
| 672 | action: "objc++-compile" |
| 673 | action: "c++-header-parsing" |
| 674 | action: "linkstamp-compile" |
| 675 | flag_group { |
| 676 | flag: "-O2" |
| 677 | flag: "-DNDEBUG" |
| 678 | flag: "-D_FORTIFY_SOURCE=1" |
| 679 | flag: "-ffunction-sections" |
| 680 | flag: "-fdata-sections" |
| 681 | } |
| 682 | } |
| 683 | flag_set { |
| 684 | action: "c++-link-executable" |
| 685 | action: "c++-link-nodeps-dynamic-library" |
| 686 | action: "c++-link-dynamic-library" |
| 687 | flag_group { |
| 688 | flag: "-Wl,--gc-sections" |
| 689 | } |
| 690 | } |
| 691 | implies: "opt_post" |
| 692 | } |
| 693 | feature { |
Austin Schuh | ef147de | 2018-10-27 21:19:00 -0700 | [diff] [blame] | 694 | name: "dependency_file" |
| 695 | flag_set { |
| 696 | action: "assemble" |
| 697 | action: "preprocess-assemble" |
| 698 | action: "c-compile" |
| 699 | action: "c++-compile" |
| 700 | action: "c++-module-compile" |
| 701 | action: "objc-compile" |
| 702 | action: "objc++-compile" |
| 703 | action: "c++-header-parsing" |
| 704 | action: "clif-match" |
| 705 | flag_group { |
| 706 | flag: "-MD" |
| 707 | flag: "-MF" |
| 708 | flag: "%{dependency_file}" |
| 709 | } |
| 710 | expand_if_all_available: "dependency_file" |
| 711 | } |
| 712 | } |
| 713 | feature { |
| 714 | name: "random_seed" |
| 715 | flag_set { |
| 716 | action: "c++-compile" |
| 717 | action: "c++-module-codegen" |
| 718 | action: "c++-module-compile" |
| 719 | flag_group { |
| 720 | flag: "-frandom-seed=%{output_file}" |
| 721 | expand_if_all_available: "output_file" |
| 722 | } |
| 723 | } |
| 724 | } |
| 725 | feature { |
| 726 | name: "pic" |
| 727 | flag_set { |
| 728 | action: "assemble" |
| 729 | action: "preprocess-assemble" |
| 730 | action: "linkstamp-compile" |
| 731 | action: "c-compile" |
| 732 | action: "c++-compile" |
| 733 | action: "c++-module-codegen" |
| 734 | action: "c++-module-compile" |
| 735 | flag_group { |
| 736 | flag: "-fPIC" |
| 737 | } |
| 738 | expand_if_all_available: "pic" |
| 739 | } |
| 740 | } |
| 741 | feature { |
| 742 | name: "preprocessor_defines" |
| 743 | flag_set { |
| 744 | action: "preprocess-assemble" |
| 745 | action: "linkstamp-compile" |
| 746 | action: "c-compile" |
| 747 | action: "c++-compile" |
| 748 | action: "c++-header-parsing" |
| 749 | action: "c++-module-compile" |
| 750 | action: "clif-match" |
| 751 | flag_group { |
| 752 | flag: "-D%{preprocessor_defines}" |
| 753 | iterate_over: "preprocessor_defines" |
| 754 | } |
| 755 | } |
| 756 | } |
| 757 | feature { |
| 758 | name: "include_paths" |
| 759 | flag_set { |
| 760 | action: "preprocess-assemble" |
| 761 | action: "c-compile" |
| 762 | action: "c++-compile" |
| 763 | action: "c++-header-parsing" |
| 764 | action: "c++-header-preprocessing" |
| 765 | action: "c++-module-compile" |
| 766 | flag_group { |
| 767 | flag: "-iquote" |
| 768 | flag: "%{quote_include_paths}" |
| 769 | iterate_over: "quote_include_paths" |
| 770 | } |
| 771 | flag_group { |
| 772 | flag: "-I%{include_paths}" |
| 773 | iterate_over: "include_paths" |
| 774 | } |
| 775 | flag_group { |
| 776 | flag: "-isystem" |
| 777 | flag: "%{system_include_paths}" |
| 778 | iterate_over: "system_include_paths" |
| 779 | } |
| 780 | } |
| 781 | } |
| 782 | feature { |
| 783 | name: "opt_post" |
| 784 | flag_set { |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 785 | action: "preprocess-assemble" |
| 786 | action: "c-compile" |
| 787 | action: "c++-compile" |
| 788 | action: "c++-header-parsing" |
| 789 | action: "c++-header-preprocessing" |
| 790 | action: "c++-module-compile" |
| 791 | flag_group { |
| 792 | flag: "-DAOS_DEBUG=0" |
| 793 | } |
| 794 | } |
| 795 | } |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 796 | feature { |
| 797 | name: "dbg" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 798 | flag_set { |
| 799 | action: "preprocess-assemble" |
| 800 | action: "c-compile" |
| 801 | action: "c++-compile" |
| 802 | action: "c++-header-parsing" |
| 803 | action: "c++-header-preprocessing" |
| 804 | action: "c++-module-compile" |
| 805 | flag_group { |
| 806 | flag: "-DAOS_DEBUG=1" |
| 807 | } |
Brian Silverman | a4a4ea6 | 2015-11-27 10:27:53 -0500 | [diff] [blame] | 808 | flag_group { |
| 809 | flag: "-fno-omit-frame-pointer" |
| 810 | } |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 811 | } |
| 812 | } |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 813 | feature { |
| 814 | name: "fastbuild" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 815 | flag_set { |
| 816 | action: "preprocess-assemble" |
| 817 | action: "c-compile" |
| 818 | action: "c++-compile" |
| 819 | action: "c++-header-parsing" |
| 820 | action: "c++-header-preprocessing" |
| 821 | action: "c++-module-compile" |
| 822 | flag_group { |
| 823 | flag: "-DAOS_DEBUG=0" |
| 824 | } |
| 825 | } |
| 826 | } |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 827 | feature { |
| 828 | name: "all_modes" |
| 829 | flag_set { |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 830 | action: "preprocess-assemble" |
| 831 | action: "assemble" |
Brian Silverman | a4a4ea6 | 2015-11-27 10:27:53 -0500 | [diff] [blame] | 832 | action: "c-compile" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 833 | flag_group { |
| 834 | flag: "-std=gnu99" |
| 835 | } |
| 836 | } |
| 837 | flag_set { |
| 838 | action: "c++-compile" |
| 839 | action: "c++-header-parsing" |
| 840 | action: "c++-header-preprocessing" |
| 841 | action: "c++-module-compile" |
| 842 | flag_group { |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 843 | flag: "-std=gnu++1z" |
Austin Schuh | f6b9463 | 2019-02-02 22:11:27 -0800 | [diff] [blame] | 844 | flag: "-fno-sized-deallocation" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 845 | } |
| 846 | } |
| 847 | flag_set { |
| 848 | action: "preprocess-assemble" |
| 849 | action: "assemble" |
| 850 | action: "c++-link" |
| 851 | action: "c++-compile" |
| 852 | action: "c++-header-parsing" |
| 853 | action: "c++-header-preprocessing" |
| 854 | action: "c++-module-compile" |
| 855 | action: "c-compile" |
| 856 | flag_group { |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 857 | flag: "-pthread" |
| 858 | } |
| 859 | } |
Austin Schuh | ef147de | 2018-10-27 21:19:00 -0700 | [diff] [blame] | 860 | enabled: true |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 861 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 862 | feature { |
| 863 | name: "pie_for_linking" |
| 864 | flag_set { |
| 865 | action: "c++-link-executable" |
| 866 | flag_group { |
| 867 | flag: "-pie" |
| 868 | } |
| 869 | } |
| 870 | enabled: true |
| 871 | } |
| 872 | } |
| 873 | toolchain { |
| 874 | toolchain_identifier: "clang_linux_armhf" |
| 875 | host_system_name: "linux" |
| 876 | target_system_name: "arm_a15" |
| 877 | target_cpu: "armhf-debian" |
| 878 | target_libc: "glibc_2.19" |
| 879 | compiler: "clang" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 880 | abi_version: "clang_6.0" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 881 | abi_libc_version: "glibc_2.19" |
| 882 | tool_path { |
| 883 | name: "ar" |
| 884 | path: "linaro_linux_gcc/arm-linux-gnueabihf-ar" |
| 885 | } |
| 886 | tool_path { |
| 887 | name: "compat-ld" |
| 888 | path: "linaro_linux_gcc/arm-linux-gnueabihf-ld" |
| 889 | } |
| 890 | tool_path { |
| 891 | name: "cpp" |
| 892 | path: "linaro_linux_gcc/clang_bin/clang" |
| 893 | } |
| 894 | tool_path { |
| 895 | name: "dwp" |
| 896 | path: "linaro_linux_gcc/arm-linux-gnueabihf-dwp" |
| 897 | } |
| 898 | tool_path { |
| 899 | name: "gcc" |
| 900 | path: "linaro_linux_gcc/clang_bin/clang" |
| 901 | } |
| 902 | tool_path { |
| 903 | name: "gcov" |
| 904 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcov-4.9" |
| 905 | } |
| 906 | tool_path { |
| 907 | name: "ld" |
| 908 | path: "linaro_linux_gcc/arm-linux-gnueabihf-ld" |
| 909 | } |
| 910 | tool_path { |
| 911 | name: "nm" |
| 912 | path: "linaro_linux_gcc/arm-linux-gnueabihf-nm" |
| 913 | } |
| 914 | tool_path { |
| 915 | name: "objcopy" |
| 916 | path: "linaro_linux_gcc/arm-linux-gnueabihf-objcopy" |
| 917 | } |
| 918 | tool_path { |
| 919 | name: "objdump" |
| 920 | path: "linaro_linux_gcc/arm-linux-gnueabihf-objdump" |
| 921 | } |
| 922 | tool_path { |
| 923 | name: "strip" |
| 924 | path: "linaro_linux_gcc/arm-linux-gnueabihf-strip" |
| 925 | } |
| 926 | supports_gold_linker: false |
| 927 | supports_thin_archives: true |
| 928 | needsPic: true |
| 929 | compiler_flag: "-target" |
| 930 | compiler_flag: "armv7a-arm-linux-gnueabif" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 931 | compiler_flag: "--sysroot=external/linaro_linux_gcc_repo/arm-linux-gnueabihf/libc" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 932 | compiler_flag: "-mfloat-abi=hard" |
| 933 | compiler_flag: "-mfpu=vfpv3-d16" |
| 934 | compiler_flag: "-nostdinc" |
| 935 | compiler_flag: "-isystem" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 936 | compiler_flag: "/usr/lib/clang/6.0/include" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 937 | compiler_flag: "-isystem" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 938 | compiler_flag: "external/linaro_linux_gcc_repo/lib/gcc/arm-linux-gnueabihf/7.4.1/include" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 939 | compiler_flag: "-isystem" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 940 | compiler_flag: "external/linaro_linux_gcc_repo/lib/gcc/arm-linux-gnueabihf/7.4.1/include-fixed" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 941 | compiler_flag: "-isystem" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 942 | compiler_flag: "external/linaro_linux_gcc_repo/arm-linux-gnueabihf/include/c++/7.4.1/arm-linux-gnueabihf" |
| 943 | compiler_flag: "-isystem" |
| 944 | compiler_flag: "external/linaro_linux_gcc_repo/arm-linux-gnueabihf/include/c++/7.4.1" |
| 945 | compiler_flag: "-isystem" |
| 946 | compiler_flag: "external/linaro_linux_gcc_repo/include/c++/7.4.1/arm-linux-gnueabihf" |
| 947 | compiler_flag: "-isystem" |
| 948 | compiler_flag: "external/linaro_linux_gcc_repo/include/c++/7.4.1" |
| 949 | compiler_flag: "-isystem" |
| 950 | compiler_flag: "external/linaro_linux_gcc_repo/arm-linux-gnueabihf/libc/usr/include" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 951 | compiler_flag: "-D__STDC_FORMAT_MACROS" |
| 952 | compiler_flag: "-D__STDC_CONSTANT_MACROS" |
| 953 | compiler_flag: "-D__STDC_LIMIT_MACROS" |
| 954 | compiler_flag: "-D_FILE_OFFSET_BITS=64" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 955 | compiler_flag: "-DAOS_ARCHITECTURE_armhf" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 956 | compiler_flag: "-U_FORTIFY_SOURCE" |
| 957 | compiler_flag: "-fstack-protector" |
| 958 | compiler_flag: "-fPIE" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 959 | compiler_flag: "-fdiagnostics-color=always" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 960 | compiler_flag: "-Wall" |
| 961 | compiler_flag: "-Wextra" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 962 | compiler_flag: "-Wpointer-arith" |
Brian Silverman | 594be0d | 2015-10-31 17:56:23 -0400 | [diff] [blame] | 963 | compiler_flag: "-Wstrict-aliasing" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 964 | compiler_flag: "-Wcast-qual" |
| 965 | compiler_flag: "-Wcast-align" |
| 966 | compiler_flag: "-Wwrite-strings" |
| 967 | compiler_flag: "-Wtype-limits" |
| 968 | compiler_flag: "-Wsign-compare" |
| 969 | compiler_flag: "-Wformat=2" |
| 970 | compiler_flag: "-Werror" |
Brian Silverman | a4a4ea6 | 2015-11-27 10:27:53 -0500 | [diff] [blame] | 971 | compiler_flag: "-Wunused-local-typedefs" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 972 | compiler_flag: "-fno-omit-frame-pointer" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 973 | compiler_flag: "-pipe" |
Brian Silverman | d254040 | 2015-11-28 18:35:00 -0500 | [diff] [blame] | 974 | compiler_flag: "-ggdb3" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 975 | linker_flag: "-target" |
| 976 | linker_flag: "armv7a-arm-linux-gnueabif" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 977 | linker_flag: "--sysroot=external/linaro_linux_gcc_repo/arm-linux-gnueabihf/libc" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 978 | linker_flag: "-lstdc++" |
| 979 | linker_flag: "-Ltools/cpp/linaro_linux_gcc/clang_more_libs" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 980 | linker_flag: "-Lexternal/linaro_linux_gcc_repo/arm-linux-gnueabihf/lib" |
| 981 | linker_flag: "-Lexternal/linaro_linux_gcc_repo/arm-linux-gnueabihf/libc/lib" |
| 982 | linker_flag: "-Lexternal/linaro_linux_gcc_repo/arm-linux-gnueabihf/libc/usr/lib" |
| 983 | linker_flag: "-Lexternal/linaro_linux_gcc_repo/lib/gcc/arm-linux-gnueabihf/7.4.1" |
| 984 | linker_flag: "-Bexternal/linaro_linux_gcc_repo/lib/gcc/arm-linux-gnueabihf/7.4.1" |
| 985 | linker_flag: "-Bexternal/linaro_linux_gcc_repo/arm-linux-gnueabihf/bin" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 986 | linker_flag: "-Wl,--dynamic-linker=/lib/ld-linux-armhf.so.3" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 987 | linker_flag: "-no-canonical-prefixes" |
| 988 | linker_flag: "-Wl,-z,relro,-z,now" |
| 989 | linker_flag: "-lm" |
| 990 | linker_flag: "-Wl,--build-id=md5" |
| 991 | linker_flag: "-Wl,--hash-style=gnu" |
| 992 | objcopy_embed_flag: "-I" |
| 993 | objcopy_embed_flag: "binary" |
| 994 | compilation_mode_flags { |
| 995 | mode: OPT |
| 996 | compiler_flag: "-O2" |
| 997 | compiler_flag: "-DNDEBUG" |
| 998 | compiler_flag: "-D_FORTIFY_SOURCE=1" |
| 999 | compiler_flag: "-ffunction-sections" |
| 1000 | compiler_flag: "-fdata-sections" |
| 1001 | linker_flag: "-Wl,--gc-sections" |
| 1002 | } |
| 1003 | linking_mode_flags { |
| 1004 | mode: DYNAMIC |
| 1005 | } |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 1006 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_repo//include)%" |
| 1007 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_repo//arm-linux-gnueabihf/libc/usr/include)%" |
| 1008 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_repo//arm-linux-gnueabihf/libc/usr/lib/include)%" |
| 1009 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/7.4.1/include-fixed)%" |
| 1010 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_repo//include)%/c++/7.4.1" |
| 1011 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/7.4.1/include)%" |
| 1012 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/7.4.1/include-fixed)%" |
| 1013 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_repo//lib/gcc/arm-linux-gnueabihf/7.4.1/include)%" |
| 1014 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_repo//lib/gcc/arm-linux-gnueabihf/7.4.1/include-fixed)%" |
| 1015 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_repo//arm-linux-gnueabihf/include)%/c++/7.4.1" |
| 1016 | cxx_builtin_include_directory: "/usr/lib/clang/6.0/include" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1017 | builtin_sysroot: "" |
| 1018 | unfiltered_cxx_flag: "-no-canonical-prefixes" |
| 1019 | unfiltered_cxx_flag: "-Wno-builtin-macro-redefined" |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 1020 | unfiltered_cxx_flag: "-Wno-mismatched-new-delete" |
| 1021 | unfiltered_cxx_flag: "-Wno-null-pointer-arithmetic" |
| 1022 | unfiltered_cxx_flag: "-Wno-varargs" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1023 | unfiltered_cxx_flag: "-D__DATE__=\"redacted\"" |
| 1024 | unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\"" |
| 1025 | unfiltered_cxx_flag: "-D__TIME__=\"redacted\"" |
| 1026 | supports_normalizing_ar: true |
| 1027 | supports_start_end_lib: false |
| 1028 | supports_interface_shared_objects: false |
| 1029 | supports_incremental_linker: false |
| 1030 | supports_fission: false |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 1031 | feature { |
| 1032 | name: "opt" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 1033 | flag_set { |
| 1034 | action: "preprocess-assemble" |
| 1035 | action: "c-compile" |
| 1036 | action: "c++-compile" |
| 1037 | action: "c++-header-parsing" |
| 1038 | action: "c++-header-preprocessing" |
| 1039 | action: "c++-module-compile" |
| 1040 | flag_group { |
| 1041 | flag: "-DAOS_DEBUG=0" |
| 1042 | } |
| 1043 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1044 | implies: "all_modes" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 1045 | } |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 1046 | feature { |
| 1047 | name: "dbg" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 1048 | flag_set { |
| 1049 | action: "preprocess-assemble" |
| 1050 | action: "c-compile" |
| 1051 | action: "c++-compile" |
| 1052 | action: "c++-header-parsing" |
| 1053 | action: "c++-header-preprocessing" |
| 1054 | action: "c++-module-compile" |
| 1055 | flag_group { |
| 1056 | flag: "-DAOS_DEBUG=1" |
| 1057 | } |
| 1058 | flag_group { |
| 1059 | flag: "-fno-omit-frame-pointer" |
| 1060 | } |
| 1061 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1062 | implies: "all_modes" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 1063 | } |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 1064 | feature { |
| 1065 | name: "fastbuild" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 1066 | flag_set { |
| 1067 | action: "preprocess-assemble" |
| 1068 | action: "c-compile" |
| 1069 | action: "c++-compile" |
| 1070 | action: "c++-header-parsing" |
| 1071 | action: "c++-header-preprocessing" |
| 1072 | action: "c++-module-compile" |
| 1073 | flag_group { |
| 1074 | flag: "-DAOS_DEBUG=0" |
| 1075 | } |
| 1076 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1077 | implies: "all_modes" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 1078 | } |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 1079 | feature { |
| 1080 | name: "all_modes" |
| 1081 | flag_set { |
| 1082 | action: "preprocess-assemble" |
| 1083 | action: "assemble" |
| 1084 | action: "c-compile" |
| 1085 | flag_group { |
| 1086 | flag: "-std=gnu99" |
| 1087 | } |
| 1088 | } |
| 1089 | flag_set { |
| 1090 | action: "c++-compile" |
| 1091 | action: "c++-header-parsing" |
| 1092 | action: "c++-header-preprocessing" |
| 1093 | action: "c++-module-compile" |
| 1094 | flag_group { |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 1095 | flag: "-std=gnu++1z" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 1096 | } |
| 1097 | } |
| 1098 | flag_set { |
| 1099 | action: "preprocess-assemble" |
| 1100 | action: "assemble" |
| 1101 | action: "c++-link" |
| 1102 | action: "c++-compile" |
| 1103 | action: "c++-header-parsing" |
| 1104 | action: "c++-header-preprocessing" |
| 1105 | action: "c++-module-compile" |
| 1106 | action: "c-compile" |
| 1107 | flag_group { |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 1108 | flag: "-pthread" |
| 1109 | } |
| 1110 | } |
| 1111 | } |
Austin Schuh | 137d945 | 2018-07-07 15:42:36 -0700 | [diff] [blame] | 1112 | feature { |
| 1113 | name: "pie_for_linking" |
Austin Schuh | 137d945 | 2018-07-07 15:42:36 -0700 | [diff] [blame] | 1114 | flag_set { |
| 1115 | action: "c++-link-executable" |
| 1116 | flag_group { |
| 1117 | flag: "-pie" |
| 1118 | } |
| 1119 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1120 | enabled: true |
Austin Schuh | 137d945 | 2018-07-07 15:42:36 -0700 | [diff] [blame] | 1121 | } |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 1122 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1123 | toolchain { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1124 | toolchain_identifier: "cortex-m4f" |
| 1125 | host_system_name: "local" |
| 1126 | target_system_name: "cortex-m4f" |
| 1127 | target_cpu: "cortex-m4f" |
| 1128 | target_libc: "cortex-m4f" |
| 1129 | compiler: "gcc" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1130 | abi_version: "cortex-m4f" |
| 1131 | abi_libc_version: "cortex-m4f" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1132 | tool_path { |
| 1133 | name: "ar" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 1134 | path: "gcc_arm_none_eabi/arm-none-eabi-ar" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1135 | } |
| 1136 | tool_path { |
| 1137 | name: "compat-ld" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 1138 | path: "gcc_arm_none_eabi/arm-none-eabi-ld" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1139 | } |
| 1140 | tool_path { |
| 1141 | name: "cpp" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 1142 | path: "gcc_arm_none_eabi/arm-none-eabi-cpp" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1143 | } |
| 1144 | tool_path { |
| 1145 | name: "dwp" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 1146 | path: "gcc_arm_none_eabi/arm-none-eabi-dwp" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1147 | } |
| 1148 | tool_path { |
| 1149 | name: "gcc" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 1150 | path: "gcc_arm_none_eabi/arm-none-eabi-gcc" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1151 | } |
| 1152 | tool_path { |
| 1153 | name: "gcov" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 1154 | path: "gcc_arm_none_eabi/arm-none-eabi-gcov" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1155 | } |
| 1156 | tool_path { |
| 1157 | name: "ld" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 1158 | path: "gcc_arm_none_eabi/arm-none-eabi-ld" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1159 | } |
| 1160 | tool_path { |
| 1161 | name: "nm" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 1162 | path: "gcc_arm_none_eabi/arm-none-eabi-nm" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1163 | } |
| 1164 | tool_path { |
| 1165 | name: "objcopy" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 1166 | path: "gcc_arm_none_eabi/arm-none-eabi-objcopy" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1167 | } |
| 1168 | tool_path { |
| 1169 | name: "objdump" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 1170 | path: "gcc_arm_none_eabi/arm-none-eabi-objdump" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1171 | } |
| 1172 | tool_path { |
| 1173 | name: "strip" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 1174 | path: "gcc_arm_none_eabi/arm-none-eabi-strip" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1175 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1176 | supports_gold_linker: false |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1177 | supports_thin_archives: false |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1178 | needsPic: false |
| 1179 | compiler_flag: "-D__STDC_FORMAT_MACROS" |
| 1180 | compiler_flag: "-D__STDC_CONSTANT_MACROS" |
| 1181 | compiler_flag: "-D__STDC_LIMIT_MACROS" |
| 1182 | compiler_flag: "-D__MK64FX512__" |
| 1183 | compiler_flag: "-DF_CPU=120000000" |
| 1184 | compiler_flag: "-Wl,--gc-sections" |
| 1185 | compiler_flag: "-D__have_long32" |
| 1186 | compiler_flag: "-fstack-protector" |
| 1187 | compiler_flag: "-mcpu=cortex-m4" |
| 1188 | compiler_flag: "-mfpu=fpv4-sp-d16" |
| 1189 | compiler_flag: "-mthumb" |
| 1190 | compiler_flag: "-mfloat-abi=hard" |
| 1191 | compiler_flag: "-fno-strict-aliasing" |
| 1192 | compiler_flag: "-fmessage-length=80" |
| 1193 | compiler_flag: "-fmax-errors=20" |
| 1194 | compiler_flag: "-Wall" |
| 1195 | compiler_flag: "-Wextra" |
| 1196 | compiler_flag: "-Wpointer-arith" |
| 1197 | compiler_flag: "-Wcast-qual" |
| 1198 | compiler_flag: "-Wwrite-strings" |
| 1199 | compiler_flag: "-Wtype-limits" |
| 1200 | compiler_flag: "-Wsign-compare" |
| 1201 | compiler_flag: "-Wformat=2" |
| 1202 | compiler_flag: "-Werror" |
| 1203 | compiler_flag: "-Wstrict-aliasing=2" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 1204 | compiler_flag: "-Wno-misleading-indentation" |
| 1205 | compiler_flag: "-Wno-int-in-bool-context" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1206 | compiler_flag: "-Wdouble-promotion" |
| 1207 | compiler_flag: "-pipe" |
| 1208 | compiler_flag: "-g" |
| 1209 | compiler_flag: "-fno-common" |
| 1210 | compiler_flag: "-ffreestanding" |
| 1211 | compiler_flag: "-fbuiltin" |
| 1212 | linker_flag: "-no-canonical-prefixes" |
| 1213 | linker_flag: "-mcpu=cortex-m4" |
| 1214 | linker_flag: "-mfpu=fpv4-sp-d16" |
| 1215 | linker_flag: "-mthumb" |
| 1216 | linker_flag: "-mfloat-abi=hard" |
| 1217 | linker_flag: "-fno-strict-aliasing" |
| 1218 | linker_flag: "--specs=nano.specs" |
| 1219 | linker_flag: "-lgcc" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 1220 | linker_flag: "-lstdc++_nano" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1221 | linker_flag: "-lm" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 1222 | linker_flag: "-lc_nano" |
Brian Silverman | d4dc126 | 2018-09-23 16:50:34 -0700 | [diff] [blame] | 1223 | linker_flag: "-Tmotors/core/kinetis_512_256.ld" |
| 1224 | linker_flag: "-Tmotors/core/kinetis_sections.ld" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1225 | objcopy_embed_flag: "-I" |
| 1226 | objcopy_embed_flag: "binary" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1227 | compilation_mode_flags { |
| 1228 | mode: OPT |
| 1229 | compiler_flag: "-O2" |
| 1230 | compiler_flag: "-finline-functions" |
| 1231 | compiler_flag: "-ffast-math" |
| 1232 | compiler_flag: "-funroll-loops" |
| 1233 | compiler_flag: "-DNDEBUG" |
| 1234 | compiler_flag: "-ffunction-sections" |
| 1235 | linker_flag: "-Wl,--gc-sections" |
| 1236 | } |
| 1237 | linking_mode_flags { |
| 1238 | mode: FULLY_STATIC |
| 1239 | } |
| 1240 | cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include" |
| 1241 | cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include-fixed" |
| 1242 | cxx_builtin_include_directory: "/usr/lib/arm-none-eabi/include" |
| 1243 | cxx_builtin_include_directory: "/usr/include/newlib" |
| 1244 | builtin_sysroot: "" |
| 1245 | unfiltered_cxx_flag: "-no-canonical-prefixes" |
| 1246 | unfiltered_cxx_flag: "-Wno-builtin-macro-redefined" |
| 1247 | unfiltered_cxx_flag: "-D__DATE__=\"redacted\"" |
| 1248 | unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\"" |
| 1249 | unfiltered_cxx_flag: "-D__TIME__=\"redacted\"" |
| 1250 | supports_normalizing_ar: false |
| 1251 | supports_start_end_lib: false |
| 1252 | supports_interface_shared_objects: false |
| 1253 | supports_incremental_linker: false |
| 1254 | supports_fission: false |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1255 | feature { |
| 1256 | name: "dbg" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1257 | flag_set { |
| 1258 | action: "preprocess-assemble" |
| 1259 | action: "c-compile" |
| 1260 | action: "c++-compile" |
| 1261 | action: "c++-header-parsing" |
| 1262 | action: "c++-header-preprocessing" |
| 1263 | action: "c++-module-compile" |
| 1264 | flag_group { |
| 1265 | flag: "-fno-omit-frame-pointer" |
| 1266 | } |
| 1267 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1268 | implies: "all_modes" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1269 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1270 | feature { |
| 1271 | name: "opt" |
| 1272 | implies: "all_modes" |
| 1273 | } |
| 1274 | feature { |
| 1275 | name: "fastbuild" |
| 1276 | implies: "all_modes" |
| 1277 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1278 | feature { |
| 1279 | name: "all_modes" |
| 1280 | flag_set { |
| 1281 | action: "preprocess-assemble" |
| 1282 | action: "assemble" |
| 1283 | action: "c-compile" |
| 1284 | flag_group { |
| 1285 | flag: "--std=gnu99" |
| 1286 | } |
| 1287 | } |
| 1288 | flag_set { |
| 1289 | action: "c++-compile" |
| 1290 | action: "c++-header-parsing" |
| 1291 | action: "c++-header-preprocessing" |
| 1292 | action: "c++-module-compile" |
| 1293 | flag_group { |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 1294 | flag: "--std=gnu++1z" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 1295 | flag: "-fno-exceptions" |
| 1296 | flag: "-fno-rtti" |
| 1297 | } |
| 1298 | } |
| 1299 | } |
| 1300 | feature { |
| 1301 | name: "include_paths" |
| 1302 | flag_set { |
| 1303 | action: "preprocess-assemble" |
| 1304 | action: "c-compile" |
| 1305 | action: "c++-compile" |
| 1306 | action: "c++-header-parsing" |
| 1307 | action: "c++-header-preprocessing" |
| 1308 | action: "c++-module-compile" |
| 1309 | flag_group { |
| 1310 | flag: "-iquote" |
| 1311 | flag: "%{quote_include_paths}" |
| 1312 | iterate_over: "quote_include_paths" |
| 1313 | } |
| 1314 | flag_group { |
| 1315 | flag: "-I%{include_paths}" |
| 1316 | iterate_over: "include_paths" |
| 1317 | } |
| 1318 | flag_group { |
| 1319 | flag: "-I" |
| 1320 | flag: "%{system_include_paths}" |
| 1321 | iterate_over: "system_include_paths" |
| 1322 | } |
| 1323 | } |
| 1324 | } |
| 1325 | } |
| 1326 | toolchain { |
| 1327 | toolchain_identifier: "cortex-m4f-k22" |
| 1328 | host_system_name: "local" |
| 1329 | target_system_name: "cortex-m4f-k22" |
| 1330 | target_cpu: "cortex-m4f-k22" |
| 1331 | target_libc: "cortex-m4f-k22" |
| 1332 | compiler: "gcc" |
| 1333 | abi_version: "cortex-m4f-k22" |
| 1334 | abi_libc_version: "cortex-m4f-k22" |
| 1335 | tool_path { |
| 1336 | name: "ar" |
| 1337 | path: "gcc_arm_none_eabi/arm-none-eabi-ar" |
| 1338 | } |
| 1339 | tool_path { |
| 1340 | name: "compat-ld" |
| 1341 | path: "gcc_arm_none_eabi/arm-none-eabi-ld" |
| 1342 | } |
| 1343 | tool_path { |
| 1344 | name: "cpp" |
| 1345 | path: "gcc_arm_none_eabi/arm-none-eabi-cpp" |
| 1346 | } |
| 1347 | tool_path { |
| 1348 | name: "dwp" |
| 1349 | path: "gcc_arm_none_eabi/arm-none-eabi-dwp" |
| 1350 | } |
| 1351 | tool_path { |
| 1352 | name: "gcc" |
| 1353 | path: "gcc_arm_none_eabi/arm-none-eabi-gcc" |
| 1354 | } |
| 1355 | tool_path { |
| 1356 | name: "gcov" |
| 1357 | path: "gcc_arm_none_eabi/arm-none-eabi-gcov" |
| 1358 | } |
| 1359 | tool_path { |
| 1360 | name: "ld" |
| 1361 | path: "gcc_arm_none_eabi/arm-none-eabi-ld" |
| 1362 | } |
| 1363 | tool_path { |
| 1364 | name: "nm" |
| 1365 | path: "gcc_arm_none_eabi/arm-none-eabi-nm" |
| 1366 | } |
| 1367 | tool_path { |
| 1368 | name: "objcopy" |
| 1369 | path: "gcc_arm_none_eabi/arm-none-eabi-objcopy" |
| 1370 | } |
| 1371 | tool_path { |
| 1372 | name: "objdump" |
| 1373 | path: "gcc_arm_none_eabi/arm-none-eabi-objdump" |
| 1374 | } |
| 1375 | tool_path { |
| 1376 | name: "strip" |
| 1377 | path: "gcc_arm_none_eabi/arm-none-eabi-strip" |
| 1378 | } |
| 1379 | supports_gold_linker: false |
| 1380 | supports_thin_archives: false |
| 1381 | needsPic: false |
| 1382 | compiler_flag: "-D__STDC_FORMAT_MACROS" |
| 1383 | compiler_flag: "-D__STDC_CONSTANT_MACROS" |
| 1384 | compiler_flag: "-D__STDC_LIMIT_MACROS" |
| 1385 | compiler_flag: "-D__MK22FX512__" |
| 1386 | compiler_flag: "-DF_CPU=120000000" |
| 1387 | compiler_flag: "-Wl,--gc-sections" |
| 1388 | compiler_flag: "-D__have_long32" |
| 1389 | compiler_flag: "-fstack-protector" |
| 1390 | compiler_flag: "-mcpu=cortex-m4" |
| 1391 | compiler_flag: "-mfpu=fpv4-sp-d16" |
| 1392 | compiler_flag: "-mthumb" |
| 1393 | compiler_flag: "-mfloat-abi=hard" |
| 1394 | compiler_flag: "-fno-strict-aliasing" |
| 1395 | compiler_flag: "-fmessage-length=80" |
| 1396 | compiler_flag: "-fmax-errors=20" |
| 1397 | compiler_flag: "-Wall" |
| 1398 | compiler_flag: "-Wextra" |
| 1399 | compiler_flag: "-Wpointer-arith" |
| 1400 | compiler_flag: "-Wcast-qual" |
| 1401 | compiler_flag: "-Wwrite-strings" |
| 1402 | compiler_flag: "-Wtype-limits" |
| 1403 | compiler_flag: "-Wsign-compare" |
| 1404 | compiler_flag: "-Wformat=2" |
| 1405 | compiler_flag: "-Werror" |
| 1406 | compiler_flag: "-Wstrict-aliasing=2" |
| 1407 | compiler_flag: "-Wno-misleading-indentation" |
| 1408 | compiler_flag: "-Wno-int-in-bool-context" |
| 1409 | compiler_flag: "-Wdouble-promotion" |
| 1410 | compiler_flag: "-pipe" |
| 1411 | compiler_flag: "-g" |
| 1412 | compiler_flag: "-fno-common" |
| 1413 | compiler_flag: "-ffreestanding" |
| 1414 | compiler_flag: "-fbuiltin" |
| 1415 | linker_flag: "-no-canonical-prefixes" |
| 1416 | linker_flag: "-mcpu=cortex-m4" |
| 1417 | linker_flag: "-mfpu=fpv4-sp-d16" |
| 1418 | linker_flag: "-mthumb" |
| 1419 | linker_flag: "-mfloat-abi=hard" |
| 1420 | linker_flag: "-fno-strict-aliasing" |
| 1421 | linker_flag: "--specs=nano.specs" |
| 1422 | linker_flag: "-lgcc" |
| 1423 | linker_flag: "-lstdc++_nano" |
| 1424 | linker_flag: "-lm" |
| 1425 | linker_flag: "-lc_nano" |
Brian Silverman | d4dc126 | 2018-09-23 16:50:34 -0700 | [diff] [blame] | 1426 | linker_flag: "-Tmotors/core/kinetis_512_128.ld" |
| 1427 | linker_flag: "-Tmotors/core/kinetis_sections.ld" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 1428 | objcopy_embed_flag: "-I" |
| 1429 | objcopy_embed_flag: "binary" |
| 1430 | compilation_mode_flags { |
| 1431 | mode: OPT |
| 1432 | compiler_flag: "-O2" |
| 1433 | compiler_flag: "-finline-functions" |
| 1434 | compiler_flag: "-ffast-math" |
| 1435 | compiler_flag: "-funroll-loops" |
| 1436 | compiler_flag: "-DNDEBUG" |
| 1437 | compiler_flag: "-ffunction-sections" |
| 1438 | linker_flag: "-Wl,--gc-sections" |
| 1439 | } |
| 1440 | linking_mode_flags { |
| 1441 | mode: FULLY_STATIC |
| 1442 | } |
| 1443 | cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include" |
| 1444 | cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include-fixed" |
| 1445 | cxx_builtin_include_directory: "/usr/lib/arm-none-eabi/include" |
| 1446 | cxx_builtin_include_directory: "/usr/include/newlib" |
| 1447 | builtin_sysroot: "" |
| 1448 | unfiltered_cxx_flag: "-no-canonical-prefixes" |
| 1449 | unfiltered_cxx_flag: "-Wno-builtin-macro-redefined" |
| 1450 | unfiltered_cxx_flag: "-D__DATE__=\"redacted\"" |
| 1451 | unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\"" |
| 1452 | unfiltered_cxx_flag: "-D__TIME__=\"redacted\"" |
| 1453 | supports_normalizing_ar: false |
| 1454 | supports_start_end_lib: false |
| 1455 | supports_interface_shared_objects: false |
| 1456 | supports_incremental_linker: false |
| 1457 | supports_fission: false |
| 1458 | feature { |
| 1459 | name: "dbg" |
| 1460 | flag_set { |
| 1461 | action: "preprocess-assemble" |
| 1462 | action: "c-compile" |
| 1463 | action: "c++-compile" |
| 1464 | action: "c++-header-parsing" |
| 1465 | action: "c++-header-preprocessing" |
| 1466 | action: "c++-module-compile" |
| 1467 | flag_group { |
| 1468 | flag: "-fno-omit-frame-pointer" |
| 1469 | } |
| 1470 | } |
| 1471 | implies: "all_modes" |
| 1472 | } |
| 1473 | feature { |
| 1474 | name: "opt" |
| 1475 | implies: "all_modes" |
| 1476 | } |
| 1477 | feature { |
| 1478 | name: "fastbuild" |
| 1479 | implies: "all_modes" |
| 1480 | } |
| 1481 | feature { |
| 1482 | name: "all_modes" |
| 1483 | flag_set { |
| 1484 | action: "preprocess-assemble" |
| 1485 | action: "assemble" |
| 1486 | action: "c-compile" |
| 1487 | flag_group { |
| 1488 | flag: "--std=gnu99" |
| 1489 | } |
| 1490 | } |
| 1491 | flag_set { |
| 1492 | action: "c++-compile" |
| 1493 | action: "c++-header-parsing" |
| 1494 | action: "c++-header-preprocessing" |
| 1495 | action: "c++-module-compile" |
| 1496 | flag_group { |
James Kuszmaul | 3ae4226 | 2019-11-08 12:33:41 -0800 | [diff] [blame^] | 1497 | flag: "--std=gnu++1z" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1498 | flag: "-fno-exceptions" |
| 1499 | flag: "-fno-rtti" |
| 1500 | } |
| 1501 | } |
| 1502 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1503 | feature { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1504 | name: "include_paths" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1505 | flag_set { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1506 | action: "preprocess-assemble" |
| 1507 | action: "c-compile" |
| 1508 | action: "c++-compile" |
| 1509 | action: "c++-header-parsing" |
| 1510 | action: "c++-header-preprocessing" |
| 1511 | action: "c++-module-compile" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1512 | flag_group { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1513 | flag: "-iquote" |
| 1514 | flag: "%{quote_include_paths}" |
| 1515 | iterate_over: "quote_include_paths" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1516 | } |
| 1517 | flag_group { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1518 | flag: "-I%{include_paths}" |
| 1519 | iterate_over: "include_paths" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1520 | } |
| 1521 | flag_group { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1522 | flag: "-I" |
| 1523 | flag: "%{system_include_paths}" |
| 1524 | iterate_over: "system_include_paths" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1525 | } |
| 1526 | } |
| 1527 | } |
| 1528 | } |