Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build sherpa-onnx as a single shared library #1078

Merged
merged 54 commits into from
Jul 6, 2024

Conversation

csukuangfj
Copy link
Collaborator

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.

@csukuangfj csukuangfj merged commit a250751 into k2-fsa:master Jul 6, 2024
3 of 166 checks passed
@csukuangfj csukuangfj deleted the symbol-vis branch August 16, 2024 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant