Commit Graph

4 Commits

Author SHA1 Message Date
Fangjun Kuang
f5bf8c8d4a Add Go API for audio tagging (#1840) 2025-02-11 12:07:28 +08:00
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
fdcae56a14 Fix Go tests (#897) 2024-05-21 11:50:13 +08:00
Fangjun Kuang
fe0c8bfc51 Test go inside sherpa-onnx (#374)
Previously, we only test the go api examples with pre-built packages. 
This PR tests go API examples against the latest source code of sherpa-onnx.
2023-10-20 10:43:30 +08:00