Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions runtime-creativity/whisper.cpp/autobuild/beyond
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# FIXME: Both whisper.cpp and llama.cpp have conflicting ggml files and paths, we don't need it
abinfo "Delete all ggml files ..."
rm -rv "$PKGDIR"/usr/include/
rm -rv "$PKGDIR"/usr/lib/cmake/ggml/
7 changes: 5 additions & 2 deletions runtime-creativity/whisper.cpp/autobuild/defines
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
PKGNAME=whisper.cpp
PKGSEC=misc
PKGDEP="vulkan"
BUILDDEP="shaderc"
PKGDEP="vulkan-loader sdl2"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

也可以依赖一下 ggml?

BUILDDEP="shaderc vulkan-headers"
PKGDES="Utility and library to work with OpenAI's automatic speech recognition model"

CMAKE_AFTER=(
"-DGGML_VULKAN=1"
"-DWHISPER_SDL2=ON"
"-DBUILD_SHARED_LIBS=OFF"
"-DGGML_STATIC:BOOL=ON"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

既然都要用系统 GGML,也许应该直接关闭 static 打开 shared?

)

# FIXME: fix riscv64 build
Expand Down
1 change: 1 addition & 0 deletions runtime-creativity/whisper.cpp/spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
VER=1.7.6
REL=1
SRCS="git::commit=tags/v$VER::https://github.com/ggml-org/whisper.cpp"
CHKSUMS="SKIP"
CHKUPDATE="anitya::id=372280"