VeriSilicon/tflite-vx-delegate

Android build

bkovalenkocomp opened this issue · 2 comments

Hi, how to build external delegate for Android?

The build files have mentions of android here and there, but all prebuild libs are for x86_64. Is it possible to build delegate for Android? Thanks.

@bkovalenkocomp,

Yes, its possible. Build for android need: build tim-vx against android. while build tim-vx, you can use -DEXTERNAL_VIV_SDK=<path_to_your_android_build_for_vx_driver>.

once you have tim-vx built, you can use it -DTIM_VX_INSTALL.

you can find cmake file from android NDK , for example : android-ndk-r22b/build/cmake/android.toolchain.cmake

close it since no more response. If you have further questions, you can email to ML_Support@verisilicon.