Fangjun Kuang
a25075101c
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.
2024-07-06 16:41:54 +08:00
Fangjun Kuang
85d59b5840
Use hub.nuaa.cf to replace huggingface URL to download dependencies. ( #614 )
2024-02-28 17:48:51 +08:00
Fangjun Kuang
a9e7747736
Fix cmake variables to point to the project root directory. ( #545 )
2024-01-24 19:21:23 +08:00
Fangjun Kuang
865fd1e017
Support pkg-config ( #253 )
2023-08-10 11:22:36 +08:00
Fangjun Kuang
a40697f633
Fix building for GPU support. ( #195 )
2023-07-05 18:18:31 +08:00
Fangjun Kuang
726680c5e0
Install binaries via pip install ( #112 )
...
When pepole use pip install sherpa-onnx, they also get the following binaries:
(py38) fangjuns-MacBook-Pro:bin fangjun$ ls -lh sherpa-onnx*
-rwxr-xr-x 1 fangjun staff 36K Apr 4 13:48 sherpa-onnx
-rwxr-xr-x 1 fangjun staff 52K Apr 4 13:48 sherpa-onnx-microphone
-rwxr-xr-x 1 fangjun staff 54K Apr 4 13:48 sherpa-onnx-microphone-offline
-rwxr-xr-x 1 fangjun staff 37K Apr 4 13:48 sherpa-onnx-offline
-rwxr-xr-x 1 fangjun staff 634K Apr 4 13:48 sherpa-onnx-offline-websocket-server
-rwxr-xr-x 1 fangjun staff 710K Apr 4 13:48 sherpa-onnx-online-websocket-client
-rwxr-xr-x 1 fangjun staff 651K Apr 4 13:48 sherpa-onnx-online-websocket-server
(py38) fangjuns-MacBook-Pro:bin fangjun$ pwd
/Users/fangjun/py38/bin
2023-04-04 15:45:59 +08:00
frankyoujian
3a79115884
fix cmake parse path string error ( #88 )
...
Co-authored-by: Jian You (jianyou) <jianyou@cisco.com >
2023-03-07 18:01:29 +08:00
Fangjun Kuang
1cf2c0417a
Ci windows x86 ( #87 )
...
* CI for 32-bit windows
* small fixes
2023-03-07 17:14:52 +08:00
Fangjun Kuang
422221b3b4
Add transpose ( #82 )
2023-03-05 11:27:17 +08:00
Fangjun Kuang
62ae1dcd24
Add alternative URLs for downloading deps ( #80 )
2023-03-05 09:42:16 +08:00
Fangjun Kuang
ce4dd176e4
Add ffmpeg example ( #61 )
2023-02-24 17:44:36 +08:00
Fangjun Kuang
a65dcf77b3
add portaudio for reading microphones ( #55 )
2023-02-22 17:13:07 +08:00