From 3d0a45c3ab20d170a9fee3d40e1584392425ae27 Mon Sep 17 00:00:00 2001 From: huzhiqiang <912790387@qq.com> Date: Wed, 15 Jul 2020 10:50:58 +0800 Subject: [PATCH] [Compile] Accelerate compiling period by avoiding repetitive compiling #3946 --- lite/tools/build_android.sh | 2 ++ lite/tools/build_ios.sh | 1 + 2 files changed, 3 insertions(+) diff --git a/lite/tools/build_android.sh b/lite/tools/build_android.sh index 90f604d97f..5713c4e21b 100755 --- a/lite/tools/build_android.sh +++ b/lite/tools/build_android.sh @@ -269,6 +269,7 @@ function main { if [ -z "$1" ]; then # compiling result contains light_api lib only, recommanded. make_tiny_publish_so $ARCH $TOOLCHAIN $ANDROID_STL + exit 0 fi # Parse command line. @@ -358,6 +359,7 @@ function main { done # compiling result contains light_api lib only, recommanded. make_tiny_publish_so + exit 0 } main $@ diff --git a/lite/tools/build_ios.sh b/lite/tools/build_ios.sh index 2c7eeb466f..3d4337aa8e 100755 --- a/lite/tools/build_ios.sh +++ b/lite/tools/build_ios.sh @@ -152,6 +152,7 @@ function main { esac done make_ios $ARCH + exit 0 } main $@ -- GitLab