Skip to content

Commit

Permalink
build whisper.cpp on Windows with OpenBLAS
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Oct 23, 2024
1 parent c3b5eb1 commit aa2ec9c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-sdk-windows-unstable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
mingw-w64-x86_64-libvpx
mingw-w64-x86_64-libwebp
mingw-w64-x86_64-libxml2
mingw-w64-x86_64-openblas
mingw-w64-x86_64-onevpl
mingw-w64-x86_64-openssl
mingw-w64-x86_64-opus
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-sdk-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
mingw-w64-x86_64-libvpx
mingw-w64-x86_64-libwebp
mingw-w64-x86_64-libxml2
mingw-w64-x86_64-openblas
mingw-w64-x86_64-onevpl
mingw-w64-x86_64-openssl
mingw-w64-x86_64-opus
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-windows-unstable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
mingw-w64-x86_64-libvpx
mingw-w64-x86_64-libwebp
mingw-w64-x86_64-libxml2
mingw-w64-x86_64-openblas
mingw-w64-x86_64-onevpl
mingw-w64-x86_64-openssl
mingw-w64-x86_64-opus
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
mingw-w64-x86_64-libwebp
mingw-w64-x86_64-libxml2
mingw-w64-x86_64-onevpl
mingw-w64-x86_64-openblas
mingw-w64-x86_64-openssl
mingw-w64-x86_64-opus
mingw-w64-x86_64-potrace
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-shotcut-msys2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ function set_globals {

#####
# whisper.cpp
CONFIG[9]="cmake -B build -G Ninja -D CMAKE_INSTALL_PREFIX=$FINAL_INSTALL_DIR $CMAKE_DEBUG_FLAG -D BUILD_SHARED_LIBS=ON -D GGML_NATIVE=OFF -D WHISPER_BUILD_SERVER=OFF -D WHISPER_BUILD_TESTS=OFF"
CONFIG[9]="cmake -B build -G Ninja -D CMAKE_INSTALL_PREFIX=$FINAL_INSTALL_DIR $CMAKE_DEBUG_FLAG -D GGML_OPENBLAS=ON -D BUILD_SHARED_LIBS=ON -D GGML_NATIVE=OFF -D WHISPER_BUILD_SERVER=OFF -D WHISPER_BUILD_TESTS=OFF"
CFLAGS_[9]=$CFLAGS
LDFLAGS_[9]=$LDFLAGS
BUILD[9]="ninja -C build -j $MAKEJ"
Expand Down

0 comments on commit aa2ec9c

Please sign in to comment.