Publish sherpa_onnx.har for HarmonyOS (#1572)
This commit is contained in:
18
harmony-os/SherpaOnnxHar/README.md
Normal file
18
harmony-os/SherpaOnnxHar/README.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# Introduction
|
||||
|
||||
How to build `sherpa_onnx.har` from the command line:
|
||||
|
||||
```bash
|
||||
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
|
||||
```
|
||||
Reference in New Issue
Block a user