From: Sergey Matveev Date: Mon, 14 Jul 2025 11:56:53 +0000 (+0300) Subject: Update whisper.cpp X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9dac6e526808fff352db026a511acd964880cf80f6920c66463351954fc6482e;p=bass.git Update whisper.cpp --- diff --git a/build/distfiles/.gitignore b/build/distfiles/.gitignore index 2d04b69..55bbee8 100644 --- a/build/distfiles/.gitignore +++ b/build/distfiles/.gitignore @@ -260,7 +260,7 @@ /wavpack-5.7.0.tar.xz /webkitgtk-2.34.6.tar.xz /wget-1.25.0.tar.lz -/whisper.cpp-1.7.5.tar.zst +/whisper.cpp-1.7.6.tar.zst /whisper.cpp.git /wireshark-4.2.5.tar.xz /x264-2024-05-12.tar.zst diff --git a/build/distfiles/whisper.cpp-1.7.5.tar.zst.do b/build/distfiles/whisper.cpp-1.7.6.tar.zst.do similarity index 86% rename from build/distfiles/whisper.cpp-1.7.5.tar.zst.do rename to build/distfiles/whisper.cpp-1.7.6.tar.zst.do index 5ffdcd6..494a02b 100644 --- a/build/distfiles/whisper.cpp-1.7.5.tar.zst.do +++ b/build/distfiles/whisper.cpp-1.7.6.tar.zst.do @@ -2,6 +2,6 @@ sname=$1.do . "$BASS_ROOT"/lib/rc [ -d whisper.cpp.git ] || git clone --depth 1 --bare https://github.com/ggerganov/whisper.cpp >&2 cd whisper.cpp.git -commit=51c6961c7b64b406833f4b6a4a20e67142f69225 +commit=a8d002cfd879315632a579e73f0148d06959de36 git fetch origin $commit >&2 git archive --prefix=${1%.tar.zst}/ $commit | $COMPRESSOR diff --git a/build/skel/misc/whisper.cpp-1.7.5.do b/build/skel/misc/whisper.cpp-1.7.6.do similarity index 95% rename from build/skel/misc/whisper.cpp-1.7.5.do rename to build/skel/misc/whisper.cpp-1.7.6.do index 963b0cf..dd29449 100644 --- a/build/skel/misc/whisper.cpp-1.7.5.do +++ b/build/skel/misc/whisper.cpp-1.7.6.do @@ -12,6 +12,7 @@ $TAR xf "$DISTFILES"/$NAME.tar.zst "$BASS_ROOT"/bin/rm-r "$SKELBINS"/$ARCH/$NAME-$hsh cd $NAME +export LDFLAGS="-pthread $LDFLAGS" cmake -B build >&2 cmake --build build --config Release >&2 mkdir -p "$SKELBINS"/$ARCH/$NAME-$hsh/bin "$SKELBINS"/$ARCH/$NAME-$hsh/lib