File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,19 @@ download_ai_lite_core() {
3030}
3131
3232install_enn_backend () {
33+ NDK_INSTALLATION_DIR=/opt/ndk
34+ rm -rf " ${NDK_INSTALLATION_DIR} " && mkdir -p " ${NDK_INSTALLATION_DIR} "
35+ ANDROID_NDK_VERSION=r27b
36+
37+ pushd .
38+ cd /tmp
39+ curl -Os --retry 3 " https://ossci-android.s3.amazonaws.com/android-ndk-${ANDROID_NDK_VERSION} -linux.zip"
40+ unzip -qo " android-ndk-${ANDROID_NDK_VERSION} -linux.zip"
41+
42+ # Print the content for manual verification
43+ ls -lah " android-ndk-${ANDROID_NDK_VERSION} "
44+ mv " android-ndk-${ANDROID_NDK_VERSION} " /* " ${NDK_INSTALLATION_DIR} "
45+ popd
3346 # build Exynos backend
3447 export ANDROID_NDK_ROOT=${ANDROID_NDK_ROOT:-/ opt/ ndk}
3548 bash backends/samsung/build.sh --build all
You can’t perform that action at this time.
0 commit comments