Closed asus4 closed 1 year ago
Environment:
Describe the bug
It fails at building GPU delegate on Android and Linux, when running ./build_tflite.py -android -xnnpack command.
./build_tflite.py -android -xnnpack
external/androidndk/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lnativewindow
Here's a full log on the Android CI https://app.circleci.com/pipelines/github/asus4/tf-lite-unity-sample/32/workflows/82761569-92d0-4559-9468-b55146bb4902/jobs/150
To Reproduce Steps to reproduce the behavior:
./build_tflite.py -linux -xnnpack
Workaround is to comment out nativewindow_linkopts in the TFLite bazel file. It looks like the issue in the TFLite.
nativewindow_linkopts
https://github.com/tensorflow/tensorflow/blob/0db597d0d758aba578783b5bf46c889700a45085/tensorflow/lite/delegates/gpu/build_defs.bzl#L27-L28
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Environment:
Describe the bug
It fails at building GPU delegate on Android and Linux, when running
./build_tflite.py -android -xnnpack
command.Here's a full log on the Android CI https://app.circleci.com/pipelines/github/asus4/tf-lite-unity-sample/32/workflows/82761569-92d0-4559-9468-b55146bb4902/jobs/150
To Reproduce Steps to reproduce the behavior:
./build_tflite.py -android -xnnpack
or./build_tflite.py -linux -xnnpack
with the TensorFlow v2.12.0 branchWorkaround is to comment out
nativewindow_linkopts
in the TFLite bazel file. It looks like the issue in the TFLite.https://github.com/tensorflow/tensorflow/blob/0db597d0d758aba578783b5bf46c889700a45085/tensorflow/lite/delegates/gpu/build_defs.bzl#L27-L28