Skip to content

Commit 1597f67

Browse files
wilcorreaclaude
andauthored
fix(ci): force armv8.5-a architecture for macOS ARM to avoid i8mm errors (#8)
The i8mm instruction set (ARMv8.6+) is not available on GitHub's macOS runners. By explicitly targeting armv8.5-a, we prevent CMake from auto-detecting and enabling unavailable SIMD instructions during whisper.cpp compilation. Refs: ggml-org/whisper.cpp#3427 Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 735a986 commit 1597f67

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release-tauri.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ jobs:
126126
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
127127
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
128128
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
129+
CFLAGS: ${{ matrix.target == 'aarch64-apple-darwin' && '-march=armv8.5-a' || '' }}
130+
CXXFLAGS: ${{ matrix.target == 'aarch64-apple-darwin' && '-march=armv8.5-a' || '' }}
129131
with:
130132
projectPath: apps/tauri
131133
tagName: ${{ inputs.tag_name }}

0 commit comments

Comments
 (0)