Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lyblsgo committed Nov 13, 2023
1 parent 923689b commit c0bfc7c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion runtime/onnxruntime/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ mkdir build
cd build
cmake ../ -D FFMPEG_DIR=d:/ffmpeg-master-latest-win64-gpl-shared -D ONNXRUNTIME_DIR=d:/onnxruntime-win-x64-1.16.1
```
Visual Studio open FunASROnnx.sln start build
Visual Studio open FunASR/runtime/onnxruntime/build/FunASROnnx.sln start build
9 changes: 5 additions & 4 deletions runtime/websocket/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,15 @@ https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/dep_libs/openssl-1.1.

Download to d:/src/openssl-1.1.1w

Open x64 Native Tools Command Prompt and execute the following compilation steps
```
# download and install perl: https://www.activestate.com/products/activeperl/downloads/
d:
cd d:/src/openssl-1.1.1w
perl Configure VC-WIN64A --prefix=d:/openssl-1.1.1w
nmake
namke install
# Open x64 Native Tools Command Prompt and execute the following compilation steps
nmake
nmake install
```

### Build runtime
Expand All @@ -70,5 +71,5 @@ mkdir build
cd build
cmake ../ -D OPENSSL_ROOT_DIR=d:/openssl-1.1.1w -D FFMPEG_DIR=d:/ffmpeg-master-latest-win64-gpl-shared -D ONNXRUNTIME_DIR=d:/onnxruntime-win-x64-1.16.1
```
Open FunASRWebscoket.sln in Visual Studio and complete the compilation.
Open FunASR/runtime/websocket/build/FunASRWebscoket.sln in Visual Studio and complete the compilation.

7 changes: 4 additions & 3 deletions runtime/websocket/readme_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,14 @@ https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/dep_libs/openssl-1.1.

下载解压到 d:/src/openssl-1.1.1w

打开 x64 Native Tools Command Prompt 执行以下编译步骤
```
# 下载&安装 perl: https://www.activestate.com/products/activeperl/downloads/
d:
cd d:/src/openssl-1.1.1w
perl Configure VC-WIN64A --prefix=d:/openssl-1.1.1w
# 管理员身份打开 x64 Native Tools Command Prompt 执行以下编译步骤
nmake
namke install
nmake install
```

Expand All @@ -71,5 +72,5 @@ mkdir build
cd build
cmake ../ -D OPENSSL_ROOT_DIR=d:/openssl-1.1.1w -D FFMPEG_DIR=d:/ffmpeg-master-latest-win64-gpl-shared -D ONNXRUNTIME_DIR=d:/onnxruntime-win-x64-1.16.1
```
Visual Studio 打开 FunASRWebscoket.sln 完成编译
Visual Studio 打开 FunASR/runtime/websocket/build/FunASRWebscoket.sln 完成编译

0 comments on commit c0bfc7c

Please sign in to comment.