Skip to content

Commit

Permalink
Add skip configuration for musllinux wheels and improve fetch content…
Browse files Browse the repository at this point in the history
… timestamp in CMake
  • Loading branch information
royshil committed Nov 13, 2024
1 parent 5dcbdd6 commit f824310
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
CIBW_ARCHS_MACOS: "universal2"
CIBW_ARCHS_WINDOWS: "AMD64"
CIBW_ARCHS_LINUX: "x86_64"
CIBW_SKIP: "cp3?-musllinux_*"
CIBW_BUILD_VERBOSITY: 1
run: |
python -m cibuildwheel --output-dir wheelhouse
Expand All @@ -54,6 +55,6 @@ jobs:
- name: Upload wheel
uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}
name: wheels-${{ matrix.os }}-${{ matrix.acceleration }}
path: |
wheelhouse/*.whl
1 change: 1 addition & 0 deletions cmake/BuildWhispercpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ if(APPLE)
# Use unique names for each architecture's fetch
FetchContent_Declare(
whispercpp_fetch_${MACOS_ARCH}
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
URL ${WHISPER_CPP_URL}
URL_HASH SHA256=${WHISPER_CPP_HASH})
FetchContent_MakeAvailable(whispercpp_fetch_${MACOS_ARCH})
Expand Down

0 comments on commit f824310

Please sign in to comment.