You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That environment variable works for both static and shared builds.
54
-
55
-
### Prebuilt `-lib` archives used by the build script
56
-
57
-
Use the latest release in practice. We use `v1.12.31` below only as an example.
58
-
59
-
#### Default static archives
60
-
61
-
| OS | Archive example | Download link |
62
-
|----|-----------------|---------------|
63
-
| Linux x86_64 |`sherpa-onnx-v1.12.31-linux-x64-static-lib.tar.bz2`|[Download](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.31/sherpa-onnx-v1.12.31-linux-x64-static-lib.tar.bz2)|
64
-
| Linux aarch64 |`sherpa-onnx-v1.12.31-linux-aarch64-static-lib.tar.bz2`|[Download](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.31/sherpa-onnx-v1.12.31-linux-aarch64-static-lib.tar.bz2)|
| Windows x64 |`sherpa-onnx-v1.12.31-win-x64-static-MT-Release-lib.tar.bz2`|[Download](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.31/sherpa-onnx-v1.12.31-win-x64-static-MT-Release-lib.tar.bz2)|
68
-
69
-
#### Optional shared archives
25
+
The first build may download the matching sherpa-onnx native libraries for your
26
+
platform automatically. This is usually invisible apart from a short Cargo
27
+
message showing the resolved library directory.
70
28
71
-
| OS | Archive example | Download link |
72
-
|----|-----------------|---------------|
73
-
| Linux x86_64 |`sherpa-onnx-v1.12.31-linux-x64-shared-lib.tar.bz2`|[Download](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.31/sherpa-onnx-v1.12.31-linux-x64-shared-lib.tar.bz2)|
74
-
| Linux aarch64 |`sherpa-onnx-v1.12.31-linux-aarch64-shared-cpu-lib.tar.bz2`|[Download](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.31/sherpa-onnx-v1.12.31-linux-aarch64-shared-cpu-lib.tar.bz2)|
| Windows x64 |`sherpa-onnx-v1.12.31-win-x64-shared-MT-Release-lib.tar.bz2`|[Download](https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.31/sherpa-onnx-v1.12.31-win-x64-shared-MT-Release-lib.tar.bz2)|
29
+
If you want to customize which libraries are used, set `SHERPA_ONNX_LIB_DIR`,
30
+
choose shared instead of the default behavior, or configure the crate directly
0 commit comments