openbsd-ports/www/iridium/patches/patch-third_party_tflite_features_gni
2022-10-05 08:59:45 +00:00

13 lines
541 B
Plaintext

Index: third_party/tflite/features.gni
--- third_party/tflite/features.gni.orig
+++ third_party/tflite/features.gni
@@ -7,7 +7,7 @@ import("//build/config/chrome_build.gni")
declare_args() {
# This enables building TFLite with XNNPACK. Currently only available for
# Linux x64.
- build_tflite_with_xnnpack = is_linux && current_cpu == "x64"
+ build_tflite_with_xnnpack = (is_linux && target_cpu == "x64") && !is_bsd
# Turns on TFLITE_WITH_RUY, using ruy as the gemm backend instead of gemmlowp.
build_tflite_with_ruy = true