From f38df441a277dddc21f532a29be8775bad4b1d99 Mon Sep 17 00:00:00 2001 From: huzhiqiang <912790387@qq.com> Date: Wed, 13 May 2020 19:03:55 +0800 Subject: [PATCH] [doc] Fix docs of build_android.sh (#3617) --- docs/user_guides/Compile/Android.md | 2 +- lite/tools/build_android.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user_guides/Compile/Android.md b/docs/user_guides/Compile/Android.md index beacf8e7fd..3065cb6a67 100644 --- a/docs/user_guides/Compile/Android.md +++ b/docs/user_guides/Compile/Android.md @@ -65,7 +65,7 @@ inference_lite_lib.android.armv8/ ```shell --arch: (armv8|armv7) arm版本,默认为armv8 --toolchain: (gcc|clang) 编译器类型,默认为gcc ---android_stl: (c++_static|c++_shared|gnu_static|gnu_shared) NDK stl库链接方法,默认为静态链接c++_static +--android_stl: (c++_static|c++_shared|gnustl_static) NDK stl库链接方法,默认为静态链接c++_static --with_java: (OFF|ON) 是否编译Java预测库, 默认为 ON --with_cv: (OFF|ON) 是否编译CV相关预处理库, 默认为 OFF --with_log: (OFF|ON) 是否输出日志信息, 默认为 ON diff --git a/lite/tools/build_android.sh b/lite/tools/build_android.sh index 564e51f704..d2d59fd3ab 100755 --- a/lite/tools/build_android.sh +++ b/lite/tools/build_android.sh @@ -233,7 +233,7 @@ function print_usage { echo -e "| optional argument: |" echo -e "| --arch: (armv8|armv7), default is armv8 |" echo -e "| --toolchain: (gcc|clang), defalut is gcc |" - echo -e "| --android_stl: (c++_static|c++_shared|gnu_static|gnu_shared), default is c++_static |" + echo -e "| --android_stl: (c++_static|c++_shared|gnustl_static), default is c++_static |" echo -e "| --with_java: (OFF|ON); controls whether to publish java api lib, default is ON |" echo -e "| --with_cv: (OFF|ON); controls whether to compile cv functions into lib, default is OFF |" echo -e "| --with_log: (OFF|ON); controls whether to print log information, default is ON |" -- GitLab