diff options
Diffstat (limited to 'www/iridium/files/patch-third__party_tflite_features.gni')
-rw-r--r-- | www/iridium/files/patch-third__party_tflite_features.gni | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/www/iridium/files/patch-third__party_tflite_features.gni b/www/iridium/files/patch-third__party_tflite_features.gni index 6eb2ac9d599f..6f34786d4a5c 100644 --- a/www/iridium/files/patch-third__party_tflite_features.gni +++ b/www/iridium/files/patch-third__party_tflite_features.gni @@ -1,13 +1,11 @@ ---- third_party/tflite/features.gni.orig 2025-05-07 06:48:23 UTC +--- third_party/tflite/features.gni.orig 2025-06-19 07:37:57 UTC +++ third_party/tflite/features.gni -@@ -9,8 +9,8 @@ declare_args() { - # This enables building TFLite with XNNPACK. Currently only available for - # Linux, macOS and Windows arm64/x64/x86 targets and ChromeOS non-ARM targets. - build_tflite_with_xnnpack = -- (is_win || is_mac || is_linux || (is_chromeos && overlay_include_cbx)) && -- (current_cpu == "arm64" || current_cpu == "x64" || current_cpu == "x86") -+ ((is_win || is_mac || is_linux || (is_chromeos && overlay_include_cbx)) && -+ (current_cpu == "arm64" || current_cpu == "x64" || current_cpu == "x86")) && !is_bsd +@@ -8,7 +8,7 @@ import("//services/on_device_model/on_device_model.gni + + declare_args() { + # This enables building TFLite with XNNPACK. +- build_tflite_with_xnnpack = current_cpu != "arm" && !is_fuchsia ++ build_tflite_with_xnnpack = current_cpu != "arm" && !is_fuchsia && !is_bsd # Turns on TFLITE_WITH_RUY, using ruy as the gemm backend instead of gemmlowp. build_tflite_with_ruy = true |