Skip to content

Commit 5ffaa55

Browse files
committed
chore: Build for all CPU variants
The best variant will be selected at run time resulting in better performance.
1 parent d970ca1 commit 5ffaa55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
# for windows setup.py repairwheel step should solve it
5858
CIBW_SKIP: pp* cp38-*
5959
# Whisper.cpp tries to use BMI2 on 32 bit Windows, so disable BMI2 when building on Windows to avoid that bug. See https://github.com/ggml-org/whisper.cpp/pull/3543
60-
CIBW_ENVIRONMENT: CMAKE_ARGS="${{ contains(matrix.os, 'arm') && '-DGGML_NATIVE=OFF -DGGML_CPU_ARM_ARCH=armv8-a' || (contains(matrix.os, 'windows') && '-DGGML_BMI2=OFF' || '') }}"
60+
CIBW_ENVIRONMENT: CMAKE_ARGS="-DGGML_BACKEND_DL=ON -DGGML_CPU_ALL_VARIANTS=ON ${{ contains(matrix.os, 'arm') && '-DGGML_CPU_ARM_ARCH=armv8-a' || (contains(matrix.os, 'windows') && '-DGGML_BMI2=OFF' || '') }}"
6161

6262
- name: Verify clean directory
6363
run: git diff --exit-code

0 commit comments

Comments
 (0)