File tree 4 files changed +5
-5
lines changed 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 36
36
if : steps.cache.outputs.cache-hit != 'true'
37
37
run : ./third_party/install_android.sh
38
38
- 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
40
40
shell : bash
41
41
- run : mkdir benchmark-binaries
42
42
- name : Build Benchmark utility for AArch64
@@ -108,7 +108,7 @@ jobs:
108
108
if : steps.cache.outputs.cache-hit != 'true'
109
109
run : ./third_party/install_android.sh
110
110
- 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
112
112
shell : bash
113
113
- name : Build LCE AAR
114
114
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:
150
150
if : steps.cache.outputs.cache-hit != 'true'
151
151
run : ./third_party/install_android.sh
152
152
- 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
154
154
shell : bash
155
155
- name : Build LCE AAR
156
156
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):
586
586
android_ndk_api_level = prompt_loop_or_load_from_env (
587
587
environ_cp ,
588
588
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 .
590
590
ask_for_var = (
591
591
"Please specify the (min) Android NDK API level to use. "
592
592
"[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
9
9
export ANDROID_HOME=" /tmp/lce_android"
10
10
export ANDROID_VERSION=29
11
11
export ANDROID_BUILD_TOOLS_VERSION=30.0.2
12
- export ANDROID_NDK_VERSION=19.2.5345600
12
+ export ANDROID_NDK_VERSION=21.4.7075529
13
13
14
14
# download android SDK
15
15
mkdir -p $ANDROID_HOME ; cd $ANDROID_HOME ;
You can’t perform that action at this time.
0 commit comments