继续操作前请注册或者登录。
名称 最后更新
..
AppScope 正在载入提交数据...
entry 正在载入提交数据...
hvigor 正在载入提交数据...
sherpa_onnx 正在载入提交数据...
.gitignore 正在载入提交数据...
README.md 正在载入提交数据...
build-profile.json5 正在载入提交数据...
code-linter.json5 正在载入提交数据...
hvigorfile.ts 正在载入提交数据...
notes.md 正在载入提交数据...
oh-package-lock.json5 正在载入提交数据...
oh-package.json5 正在载入提交数据...

Introduction

How to build sherpa_onnx.har from the command line:

git clone https://github.com/k2-fsa/sherpa-onnx
cd sherpa-onnx
./build-ohos-arm64-v8a.sh
./build-ohos-x86-64.sh

cd harmony-os/SherpaOnnxHar

hvigorw clean --no-daemon

hvigorw --mode module -p product=default -p module=sherpa_onnx@default assembleHar --analyze=normal --parallel --incremental --no-daemon

ls -lh ./sherpa_onnx/build/default/outputs/default/sherpa_onnx.har

Pre-built har packages can be found at https://huggingface.co/csukuangfj/sherpa-onnx-harmony-os/tree/main/har

You can also download it using

wget https://ohpm.openharmony.cn/ohpm/sherpa_onnx/-/sherpa_onnx-1.10.32.har

# Please replace the version 1.10.32 if needed.

You can also use

ohpm install sherpa_onnx

to install it.

See also https://ohpm.openharmony.cn/#/cn/detail/sherpa_onnx