ports/devel/electron33/files/patch-third__party_tflite_features.gni
Hiroki Tagato 9c04d144dd devel/electron33: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://www.electronjs.org/
2024-11-13 23:41:37 +09:00

13 lines
775 B
Text

--- third_party/tflite/features.gni.orig 2024-08-14 20:56:01 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
# Turns on TFLITE_WITH_RUY, using ruy as the gemm backend instead of gemmlowp.
build_tflite_with_ruy = true