From f4891fec98a75cc9d26c2df56db1962535f8abdd Mon Sep 17 00:00:00 2001 From: tensor-tang Date: Sun, 9 Jun 2019 15:06:53 +0000 Subject: [PATCH] update build script --- paddle/fluid/lite/tools/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/paddle/fluid/lite/tools/build.sh b/paddle/fluid/lite/tools/build.sh index af229bfbfd..e1cac2ef50 100755 --- a/paddle/fluid/lite/tools/build.sh +++ b/paddle/fluid/lite/tools/build.sh @@ -92,6 +92,7 @@ function build_test_server { # Build the code and run lite server tests. This is executed in the CI system. function build_test_arm { + adb kill-server adb devices | grep emulator | cut -f1 | while read line; do adb -s $line emu kill; done # start android arm64-v8a armeabi-v7a emulators first echo n | avdmanager create avd -f -n paddle-armv8 -k "system-images;android-24;google_apis;arm64-v8a" @@ -177,7 +178,7 @@ function main { shift ;; cmake_arm) - cmake_arm + cmake_arm $2 $3 shift ;; test_server) -- GitLab