Skip to content

Commit

Permalink
Add default condition for xnnpack_aggregate_library in build_def.bzl
Browse files Browse the repository at this point in the history
- Fixes TensorFlow build on s390x
- Remove internal gcc -Wgnu-empty-struct which is not supported on GCC version 13

Fixes #6359

PiperOrigin-RevId: 631870251
  • Loading branch information
fbarchard authored and xnnpack-bot committed May 8, 2024
1 parent d9b7d14 commit 31a19da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build_defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ def xnnpack_aggregate_library(
"//build_config:emscripten_wasmsimd": wasmsimd_deps,
"//build_config:emscripten_wasmrelaxedsimd": wasmrelaxedsimd_deps,
"//build_config:riscv": riscv_deps,
"//conditions:default": [],
}),
defines = defines,
compatible_with = compatible_with,
Expand Down

0 comments on commit 31a19da

Please sign in to comment.