From b4f0b9118e57bd5d49ea136531953d29120f3b3b Mon Sep 17 00:00:00 2001 From: huzhiqiang <912790387@qq.com> Date: Thu, 28 May 2020 11:03:38 +0800 Subject: [PATCH] [Compiling][BUG FIX] Fix the issue that full_publish is not supported on build_android.sh (#3719) --- lite/tools/build_android.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lite/tools/build_android.sh b/lite/tools/build_android.sh index beaa753ee8..90f604d97f 100755 --- a/lite/tools/build_android.sh +++ b/lite/tools/build_android.sh @@ -176,7 +176,7 @@ function make_full_publish_so { prepare_thirdparty - build_directory=$workspace/build.lite.android.$ARCH.$ARM_LANG + build_directory=$workspace/build.lite.android.$ARCH.$TOOLCHAIN if [ -d $build_directory ] then @@ -202,7 +202,7 @@ function make_full_publish_so { -DNPU_DDK_ROOT=$HUAWEI_KIRIN_NPU_SDK_ROOT \ -DLITE_WITH_OPENCL=$WITH_OPENCL \ -DARM_TARGET_ARCH_ABI=$ARCH \ - -DARM_TARGET_LANG=$ARM_LANG \ + -DARM_TARGET_LANG=$TOOLCHAIN \ -DLITE_WITH_TRAIN=$WITH_TRAIN \ -DANDROID_STL_TYPE=$ANDROID_STL" -- GitLab