Update macos-arm64/README.md
Browse files- macos-arm64/README.md +33 -33
macos-arm64/README.md
CHANGED
|
@@ -1,34 +1,34 @@
|
|
| 1 |
-
## MacOS ARM64
|
| 2 |
-
|
| 3 |
-
### Inference
|
| 4 |
-
- `./asr --help`
|
| 5 |
-
|
| 6 |
-
- `./asr openai --ip 127.0.0.1 --port 3001`
|
| 7 |
-
|
| 8 |
-
### Build on MacOS with Github Actions
|
| 9 |
-
- ``` sh
|
| 10 |
-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
| 11 |
-
# source "$HOME/.cargo/`env"
|
| 12 |
-
|
| 13 |
-
brew install libsoxr pkg-config
|
| 14 |
-
|
| 15 |
-
cd $GITHUB_WORKSPACE
|
| 16 |
-
|
| 17 |
-
cargo build --release -
|
| 18 |
-
|
| 19 |
-
mkdir -p dist
|
| 20 |
-
cp target/release/asr dist/
|
| 21 |
-
cp /opt/homebrew/lib/libsoxr.0.dylib dist/
|
| 22 |
-
|
| 23 |
-
install_name_tool -change /opt/homebrew/opt/libsoxr/lib/libsoxr.0.dylib @executable_path/libsoxr.0.dylib dist/asr
|
| 24 |
-
|
| 25 |
-
codesign --force --deep --sign - dist/asr
|
| 26 |
-
|
| 27 |
-
tar -czvf asr-macos-arm64.tar.gz -C dist .
|
| 28 |
-
|
| 29 |
-
gh release create v1.0.0 asr-macos-arm64.tar.gz \
|
| 30 |
-
--title "ASR macOS ARM64" \
|
| 31 |
-
--notes "macOS Apple Silicon build with
|
| 32 |
-
|
| 33 |
-
# gh release upload v1.0.0 asr-macos-arm64.tar.gz --clobber
|
| 34 |
```
|
|
|
|
| 1 |
+
## MacOS ARM64
|
| 2 |
+
|
| 3 |
+
### Inference
|
| 4 |
+
- `./asr --help`
|
| 5 |
+
|
| 6 |
+
- `./asr openai --ip 127.0.0.1 --port 3001`
|
| 7 |
+
|
| 8 |
+
### Build on MacOS with Github Actions
|
| 9 |
+
- ``` sh
|
| 10 |
+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
| 11 |
+
# source "$HOME/.cargo/`env"
|
| 12 |
+
|
| 13 |
+
brew install libsoxr pkg-config
|
| 14 |
+
|
| 15 |
+
cd $GITHUB_WORKSPACE
|
| 16 |
+
|
| 17 |
+
cargo build --release -p asr
|
| 18 |
+
|
| 19 |
+
mkdir -p dist
|
| 20 |
+
cp target/release/asr dist/
|
| 21 |
+
cp /opt/homebrew/lib/libsoxr.0.dylib dist/
|
| 22 |
+
|
| 23 |
+
install_name_tool -change /opt/homebrew/opt/libsoxr/lib/libsoxr.0.dylib @executable_path/libsoxr.0.dylib dist/asr
|
| 24 |
+
|
| 25 |
+
codesign --force --deep --sign - dist/asr
|
| 26 |
+
|
| 27 |
+
tar -czvf asr-macos-arm64.tar.gz -C dist .
|
| 28 |
+
|
| 29 |
+
gh release create v1.0.0 asr-macos-arm64.tar.gz \
|
| 30 |
+
--title "ASR macOS ARM64" \
|
| 31 |
+
--notes "macOS Apple Silicon build with CPU support"
|
| 32 |
+
|
| 33 |
+
# gh release upload v1.0.0 asr-macos-arm64.tar.gz --clobber
|
| 34 |
```
|