benchmark_model no longer cross-compiles for Android from macOS #66015
Labels
comp:lite
TF Lite related issues
stale
This label marks the issue/pr stale - to be closed automatically if no activity
stat:awaiting response
Status - Awaiting response from author
subtype:macOS
macOS Build/Installation issues
TF 2.16
type:build/install
Build and install issues
Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.16.1
Custom code
No
OS platform and distribution
macOS 14.2.1
Mobile device
Android
Python version
3.10
Bazel version
6.5.0
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
.tf_configure.bazelrc:
Build command:
Error:
This is because
benchmark_model
is linked with-Wl,-framework,CoreFoundation
, which isn't a valid flag for an android target.This worked fine in TF Lite 2.15.
With a git bisect, I isolated the change to the Abseil upgrade: 6ed0fd8
Standalone code to reproduce the issue
Relevant log output
No response
The text was updated successfully, but these errors were encountered: