From 5edfb6297d1df574cfcb4befae8366dae54b7335 Mon Sep 17 00:00:00 2001 From: barrierye Date: Fri, 20 Mar 2020 22:42:38 +0800 Subject: [PATCH] update script for easily local test && test=serving --- tools/serving_build.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/serving_build.sh b/tools/serving_build.sh index 547ea225..3c0b755f 100644 --- a/tools/serving_build.sh +++ b/tools/serving_build.sh @@ -15,9 +15,10 @@ function check_cmd() { } function build_client() { - local TYPE=$1 # pwd: /Serving + local TYPE=$1 local DIRNAME=build-client-$TYPE - mkdir $DIRNAME && cd $DIRNAME # pwd: /Serving/build-client-$TYPE + mkdir $DIRNAME # pwd: /Serving + cd $DIRNAME # pwd: /Serving/build-client-$TYPE case $TYPE in CPU|GPU) cmake -DPYTHON_INCLUDE_DIR=$PYTHONROOT/include/python2.7/ \ @@ -38,9 +39,10 @@ function build_client() { } function build_server() { - local TYPE=$1 # pwd: /Serving + local TYPE=$1 local DIRNAME=build-server-$TYPE - mkdir $DIRNAME && cd $DIRNAME # pwd: /Serving/build-server-$TYPE + mkdir $DIRNAME # pwd: /Serving + cd $DIRNAME # pwd: /Serving/build-server-$TYPE case $TYPE in CPU) cmake -DPYTHON_INCLUDE_DIR=$PYTHONROOT/include/python2.7/ \ -- GitLab