blob: 910ded3d18b4fca3559f70e08bb87b3979336227 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- third_party/tflite/features.gni.orig 2023-12-10 06:10:27 UTC
+++ third_party/tflite/features.gni
@@ -8,9 +8,9 @@ declare_args() {
# This enables building TFLite with XNNPACK. Currently only available for
# Linux or macOS arm64/x64 and Windows x64 targets.
build_tflite_with_xnnpack =
- ((is_linux || is_mac) &&
+ (((is_linux || is_mac) &&
(current_cpu == "arm64" || current_cpu == "x64")) ||
- (is_win && current_cpu == "x64")
+ (is_win && current_cpu == "x64")) && !is_bsd
# Turns on TFLITE_WITH_RUY, using ruy as the gemm backend instead of gemmlowp.
build_tflite_with_ruy = true
|