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

Feat/download binaries #22

Merged
merged 1 commit into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ sherpa-onnx-zipformer-*
*.txt
sherpa-onnx-v*
jniLibs
sys/src/bindings.rs
sys/src/bindings.rs
!sys/dist.txt
14 changes: 14 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ git pull origin master

### Gotachas

On Linux you should set `RUSTFLAGS="-C relocation-model=dynamic-no-pic"`

<details>
<summary>When using GPU such as DirectML or Cuda</summary>

Expand Down Expand Up @@ -193,3 +195,15 @@ For debug the build process of sherpa-onnx, please set `BUILD_DEBUG=1` environme
```console
gh release create v0.4.1 --title v0.4.1 --generate-notes
```

## Calculate sha256 for dist table

```console
shasum -a 256 <path> | tr 'a-z' 'A-Z'
```

## See debug log from build

```
BUILD_DEBUG=1 cargo build -vv
```
Loading
Loading