Tensorflow-lite with Flex Delegates build fails for aarch64 source architecture using TF2.7 #54517
Labels
comp:lite
TF Lite related issues
stat:awaiting response
Status - Awaiting response from author
subtype:bazel
Bazel related Build_Installation issues
TF 2.7
Issues related to TF 2.7.0
type:build/install
Build and install issues
System information
Describe the current behavior
I'm trying to build a shared library for tensorflow-lite including the Flex Delegate by Modifying the BUILD to add following dependency:
Since I'm targeting a Linux system running on my aarch64 board, the command I ran is the below:
I also made sure to hide my OpenSSL from my /usr/include as suggested in the following issue #48401. I noticed that the build fails at compiling icu external source code.
Describe the expected behavior
The expected behavior is a build completed successfully and a shared library libtensorflow-lite.so generated and supporting Flex Delegates with TF selected Ops.
Standalone code to reproduce the issue
Here is a Google Colab gist to reproduce the Build issue. All you need to do is to modify the tensorflow/lite/BUILD by adding the following line to the libtensorflow-lite.so deps.
Other info / logs
Here is the full traceback of the error that shows in the middle of the build and makes it fail.
The text was updated successfully, but these errors were encountered: