Skip to content

Commit 82a9f26

Browse files
committed
another attempt to fix whisper build
1 parent 38926d6 commit 82a9f26

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/desktop_cd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ jobs:
149149
VITE_APP_URL: "https://hyprnote.com"
150150
VITE_API_URL: "https://api.hyprnote.com"
151151
VITE_PRO_PRODUCT_ID: ${{ secrets.VITE_PRO_PRODUCT_ID }}
152-
CFLAGS: ${{ matrix.arch == 'aarch64' && '-mcpu=apple-m1' || '' }}
153-
CXXFLAGS: ${{ matrix.arch == 'aarch64' && '-mcpu=apple-m1' || '' }}
152+
CMAKE_C_FLAGS: ${{ matrix.arch == 'aarch64' && '-mcpu=apple-m1' || '' }}
153+
CMAKE_CXX_FLAGS: ${{ matrix.arch == 'aarch64' && '-mcpu=apple-m1' || '' }}
154154
- run: |
155155
mkdir -p target/release/
156156
find target/${{ matrix.target }}/release -type f -not -path "*/\.*" -exec cp {} target/release/ \;

crates/whisper-local/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ hound = { workspace = true }
2525

2626
kalosm-sound = { workspace = true, default-features = false }
2727
rodio = { workspace = true }
28-
whisper-rs = { git = "https://codeberg.org/tazz4843/whisper-rs", rev = "0c509ec", features = ["raw-api", "tracing_backend"], optional = true }
28+
whisper-rs = { git = "https://codeberg.org/tazz4843/whisper-rs", rev = "a23990c", features = ["raw-api", "tracing_backend"], optional = true }
2929

3030
futures-util = { workspace = true }
3131
tracing = { workspace = true }

0 commit comments

Comments
 (0)