File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3636 if : steps.cache.outputs.cache-hit != 'true'
3737 run : ./third_party/install_android.sh
3838 - name : Configure Bazel
39- run : LCE_SET_ANDROID_WORKSPACE=1 ANDROID_SDK_HOME="/tmp/lce_android" ANDROID_NDK_HOME="/tmp/lce_android/ndk/19.2.5345600 " ./configure.py
39+ run : LCE_SET_ANDROID_WORKSPACE=1 ANDROID_SDK_HOME="/tmp/lce_android" ANDROID_NDK_HOME="/tmp/lce_android/ndk/21.4.7075529 " ./configure.py
4040 shell : bash
4141 - run : mkdir benchmark-binaries
4242 - name : Build Benchmark utility for AArch64
@@ -108,7 +108,7 @@ jobs:
108108 if : steps.cache.outputs.cache-hit != 'true'
109109 run : ./third_party/install_android.sh
110110 - name : Configure Bazel
111- run : LCE_SET_ANDROID_WORKSPACE=1 ANDROID_SDK_HOME="/tmp/lce_android" ANDROID_NDK_HOME="/tmp/lce_android/ndk/19.2.5345600 " ./configure.py
111+ run : LCE_SET_ANDROID_WORKSPACE=1 ANDROID_SDK_HOME="/tmp/lce_android" ANDROID_NDK_HOME="/tmp/lce_android/ndk/21.4.7075529 " ./configure.py
112112 shell : bash
113113 - name : Build LCE AAR
114114 run : BUILDER=bazelisk ./larq_compute_engine/tflite/java/build_lce_aar.sh
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ jobs:
150150 if : steps.cache.outputs.cache-hit != 'true'
151151 run : ./third_party/install_android.sh
152152 - name : Configure Bazel
153- run : LCE_SET_ANDROID_WORKSPACE=1 ANDROID_SDK_HOME="/tmp/lce_android" ANDROID_NDK_HOME="/tmp/lce_android/ndk/19.2.5345600 " ./configure.py
153+ run : LCE_SET_ANDROID_WORKSPACE=1 ANDROID_SDK_HOME="/tmp/lce_android" ANDROID_NDK_HOME="/tmp/lce_android/ndk/21.4.7075529 " ./configure.py
154154 shell : bash
155155 - name : Build LCE AAR
156156 run : BUILDER=bazelisk ./larq_compute_engine/tflite/java/build_lce_aar.sh
Original file line number Diff line number Diff line change @@ -586,7 +586,7 @@ def valid_api_level(api_level):
586586 android_ndk_api_level = prompt_loop_or_load_from_env (
587587 environ_cp ,
588588 var_name = "ANDROID_NDK_API_LEVEL" ,
589- var_default = "21" , # 21 is required for ARM64 support.
589+ var_default = '26' , # 26 is required to support AHardwareBuffer .
590590 ask_for_var = (
591591 "Please specify the (min) Android NDK API level to use. "
592592 "[Available levels: %s]"
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export ANDROID_SDK_URL="https://dl.google.com/android/repository/sdk-tools-linux
99export ANDROID_HOME=" /tmp/lce_android"
1010export ANDROID_VERSION=29
1111export ANDROID_BUILD_TOOLS_VERSION=30.0.2
12- export ANDROID_NDK_VERSION=19.2.5345600
12+ export ANDROID_NDK_VERSION=21.4.7075529
1313
1414# download android SDK
1515mkdir -p $ANDROID_HOME ; cd $ANDROID_HOME ;
You can’t perform that action at this time.
0 commit comments