8000 Reverts changelist 506335783 · IBMZ-Linux-OSS-Python/tensorflow@397aebd · GitHub
[go: up one dir, main page]

Skip to content

Commit 397aebd

Browse files
fergushendersontensorflow-jenkins
authored andcommitted
Reverts changelist 506335783
PiperOrigin-RevId: 619350353
1 parent 5bc9d26 commit 397aebd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ def get_ndk_api_level(environ_cp, android_ndk_home_path):
759759
android_ndk_api_level = prompt_loop_or_load_from_env(
760760
environ_cp,
761761
var_name='ANDROID_NDK_API_LEVEL',
762-
var_default='26', # 26 is required to support AHardwareBuffer.
762+
var_default='21', # 21 is required for ARM64 support.
763763
ask_for_var=(
764764
'Please specify the (min) Android NDK API level to use. '
765765
'[Available levels: %s]'

tensorflow/lite/g3doc/android/lite_build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ in the `.tf_configure.bazelrc` file in the root folder:
123123

124124
```shell
125125
build --action_env ANDROID_NDK_HOME="/usr/local/android/android-ndk-r25b"
126-
build --action_env ANDROID_NDK_API_LEVEL="26"
126+
build --action_env ANDROID_NDK_API_LEVEL="21"
127127
build --action_env ANDROID_BUILD_TOOLS_VERSION="30.0.3"
128128
build --action_env ANDROID_SDK_API_LEVEL="30"
129129
build --action_env ANDROID_SDK_HOME="/usr/local/android/android-sdk-linux"

0 commit comments

Comments
 (0)
0