From 8e740e9897834c77e2475790741b330c18e518dc Mon Sep 17 00:00:00 2001
From: season <season4675@gmail.com>
Date: 星期日, 02 七月 2023 19:38:48 +0800
Subject: [PATCH] [funasr-runtime-deploy 0.0.4] streamline the process, and add command line parameters. (#697)

---
 funasr/runtime/grpc/rebuild.sh |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/funasr/runtime/grpc/rebuild.sh b/funasr/runtime/grpc/rebuild.sh
index 411c3d7..9b41ed6 100644
--- a/funasr/runtime/grpc/rebuild.sh
+++ b/funasr/runtime/grpc/rebuild.sh
@@ -5,9 +5,8 @@
 
 cd cmake/build
 
-cmake ../..
+cmake  -DCMAKE_BUILD_TYPE=release ../.. -DONNXRUNTIME_DIR=/data/asrmodel/onnxruntime-linux-x64-1.14.0
 make
 
 
 echo "Build cmake/build/paraformer_server successfully!"
-echo "Let's start the server: cd cmake/build/ && ./paraformer_server"

--
Gitblit v1.9.1