aboutsummaryrefslogtreecommitdiff
path: root/devel/electron23/files/patch-third__party_tflite_features.gni
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron23/files/patch-third__party_tflite_features.gni')
-rw-r--r--devel/electron23/files/patch-third__party_tflite_features.gni11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron23/files/patch-third__party_tflite_features.gni b/devel/electron23/files/patch-third__party_tflite_features.gni
new file mode 100644
index 000000000000..ed309fe546e3
--- /dev/null
+++ b/devel/electron23/files/patch-third__party_tflite_features.gni
@@ -0,0 +1,11 @@
+--- third_party/tflite/features.gni.orig 2022-11-30 08:12:58 UTC
++++ 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 or Windows on x64.
+- build_tflite_with_xnnpack = (is_win || is_linux) && current_cpu == "x64"
++ build_tflite_with_xnnpack = ((is_win || is_linux) && current_cpu == "x64") && !is_bsd
+
+ # Turns on TFLITE_WITH_RUY, using ruy as the gemm backend instead of gemmlowp.
+ build_tflite_with_ruy = true