Build sherpa-onnx as a single shared library (#1078)
When `-D BUILD_SHARED_LIBS=ON` is passed to `cmake`, it builds a single shared library. Specifically, - For C APIs, it builds `libsherpa-onnx-c-api.so` - For Python APIs, it builds `_sherpa_onnx.cpython-xx-xx.so` - For Kotlin and Java APIs, it builds `libsherpa-onnx-jni.so` There is no `libsherpa-onnx-core.so` any longer. Note it affects only shared libraries.
This commit is contained in:
22
.github/scripts/test-dart.sh
vendored
22
.github/scripts/test-dart.sh
vendored
@@ -6,17 +6,6 @@ cd dart-api-examples
|
||||
|
||||
pushd non-streaming-asr
|
||||
|
||||
echo '----------paraformer itn----------'
|
||||
./run-paraformer-itn.sh
|
||||
|
||||
echo '----------paraformer----------'
|
||||
./run-paraformer.sh
|
||||
rm -rf sherpa-onnx-*
|
||||
|
||||
echo '----------VAD with paraformer----------'
|
||||
./run-vad-with-paraformer.sh
|
||||
rm -rf sherpa-onnx-*
|
||||
|
||||
echo '----------NeMo transducer----------'
|
||||
./run-nemo-transducer.sh
|
||||
rm -rf sherpa-onnx-*
|
||||
@@ -37,6 +26,17 @@ echo '----------zipformer transducer----------'
|
||||
./run-zipformer-transducer.sh
|
||||
rm -rf sherpa-onnx-*
|
||||
|
||||
echo '----------paraformer itn----------'
|
||||
./run-paraformer-itn.sh
|
||||
|
||||
echo '----------paraformer----------'
|
||||
./run-paraformer.sh
|
||||
rm -rf sherpa-onnx-*
|
||||
|
||||
echo '----------VAD with paraformer----------'
|
||||
./run-vad-with-paraformer.sh
|
||||
rm -rf sherpa-onnx-*
|
||||
|
||||
popd # non-streaming-asr
|
||||
|
||||
pushd tts
|
||||
|
||||
Reference in New Issue
Block a user