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:
4
.github/workflows/test-go-package.yaml
vendored
4
.github/workflows/test-go-package.yaml
vendored
@@ -26,8 +26,10 @@ jobs:
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
arch: amd64
|
||||
- os: macos-latest
|
||||
- os: macos-13
|
||||
arch: amd64
|
||||
- os: macos-14
|
||||
arch: arm64
|
||||
- os: windows-latest
|
||||
arch: x64
|
||||
- os: windows-latest
|
||||
|
||||
Reference in New Issue
Block a user