mirror of
https://github.com/google-ai-edge/LiteRT.git
synced 2026-01-09 06:21:22 +08:00
Set default NDK level to 26
LiteRT-PiperOrigin-RevId: 811500284
This commit is contained in:
parent
d800e95d31
commit
9ed80d7bce
@ -58,10 +58,11 @@ else
|
||||
'Y'
|
||||
'/usr/lib/llvm-18/bin/clang'
|
||||
'-Wno-sign-compare -Wno-c++20-designator -Wno-gnu-inline-cpp-without-extern'
|
||||
'y'
|
||||
'Y'
|
||||
'/android/sdk'
|
||||
)
|
||||
printf '%s\n' "${configs[@]}" | ./configure
|
||||
cat .litert_configure.bazelrc
|
||||
|
||||
export TF_LOCAL_SOURCE_PATH="/root_dir/third_party/tensorflow"
|
||||
bash /script_dir/build_android_package.sh
|
||||
|
||||
@ -814,7 +814,7 @@ def get_ndk_api_level(environ_cp, android_ndk_home_path):
|
||||
android_ndk_api_level = prompt_loop_or_load_from_env(
|
||||
environ_cp,
|
||||
var_name='ANDROID_NDK_API_LEVEL',
|
||||
var_default='21', # 21 is required for ARM64 support.
|
||||
var_default='26', # 26 is required for AHardwareBuffer support.
|
||||
ask_for_var=(
|
||||
'Please specify the (min) Android NDK API level to use. '
|
||||
'[Available levels: %s]'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user