pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

whisper.cpp: update to 1.7.5.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sun Apr 20 23:32:03 2025 +0200
Changeset:	b771add5d8eca711105a32a28e0dc2729b7e9bc6

Modified Files:
	whisper.cpp/Makefile
	whisper.cpp/PLIST
	whisper.cpp/distinfo
Removed Files:
	whisper.cpp/patches/patch-CMakeLists.txt

Log Message:
whisper.cpp: update to 1.7.5.

Overview

This is a relatively big update with various build and CI improvements
especially for iOS and WASM. There are also some performance gains,
especially for the Metal backend and probably for Arm-based devices.

Big shoutout to @danbev for stepping up and completing the maintenance
roadmap for this release!

Mobile examples

All mobile examples have been refreshed. The iOS examples specifically
are now much easier to build thanks to the new XCFramework workflow.
This should simplify significantly integration of whisper.cpp in
3rd party iOS and macOS apps. CoreML build and convert instructions
have also been updated.

WASM examples

The WASM examples are now automatically updated on each new commit
and hosted in Github Pages at https://ggml.ai/whisper.cpp/

Problems with CORS rules should be resolved.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b771add5d8eca711105a32a28e0dc2729b7e9bc6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 whisper.cpp/Makefile                     |  4 ++--
 whisper.cpp/PLIST                        |  5 ++++-
 whisper.cpp/distinfo                     |  7 +++----
 whisper.cpp/patches/patch-CMakeLists.txt | 13 -------------
 4 files changed, 9 insertions(+), 20 deletions(-)

diffs:
diff --git a/whisper.cpp/Makefile b/whisper.cpp/Makefile
index dc524d6abc..d7fdac5955 100644
--- a/whisper.cpp/Makefile
+++ b/whisper.cpp/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	whisper.cpp-1.7.4
+DISTNAME=	whisper.cpp-1.7.5
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=ggerganov/}
 GITHUB_PROJECT=	whisper.cpp
@@ -11,7 +11,7 @@ HOMEPAGE=	https://github.com/ggerganov/whisper.cpp/
 COMMENT=	OpenAI's Whisper LLM inference in C/C++
 LICENSE=	mit
 
-USE_TOOLS+=		pkg-config
+USE_TOOLS+=		git pkg-config
 USE_LANGUAGES=		c c++
 USE_CXX_FEATURES=	c++17
 
diff --git a/whisper.cpp/PLIST b/whisper.cpp/PLIST
index 6e3f90f5ca..185c59d129 100644
--- a/whisper.cpp/PLIST
+++ b/whisper.cpp/PLIST
@@ -3,9 +3,12 @@ bin/whisper-bench
 bin/whisper-cli
 bin/whisper-server
 include/whisper.h
+lib/cmake/ggml/ggml-config.cmake
+lib/cmake/ggml/ggml-version.cmake
 lib/cmake/whisper/whisper-config.cmake
 lib/cmake/whisper/whisper-version.cmake
+lib/libggml-cpu.so
 lib/libwhisper.so
 lib/libwhisper.so.1
-lib/libwhisper.so.1.7.4
+lib/libwhisper.so.${PKGVERSION}
 lib/pkgconfig/whisper.pc
diff --git a/whisper.cpp/distinfo b/whisper.cpp/distinfo
index fe9397998d..0929bccfdc 100644
--- a/whisper.cpp/distinfo
+++ b/whisper.cpp/distinfo
@@ -1,7 +1,6 @@
 $NetBSD$
 
-BLAKE2s (whisper.cpp-1.7.4.tar.gz) = 0c873281173970b1b771081c61f3c1ed3998ffac5ae9e4f2d0f94f50ea658f3e
-SHA512 (whisper.cpp-1.7.4.tar.gz) = 84ea48babc78a048e8c1b67d9ce5492b270f9ce86a175f3878905bf3403ce6954d74e6289f020b1aa1f15eaf623251f8fed8c25b68f5882299a10bdb9643ae05
-Size (whisper.cpp-1.7.4.tar.gz) = 5352431 bytes
-SHA1 (patch-CMakeLists.txt) = c83ba3d348fc3f70b00a9ab3ac0c750251436fe3
+BLAKE2s (whisper.cpp-1.7.5.tar.gz) = 3aa20b82bfa56066b89fff839dece8436a6d744a1d4af7a6f731b166f0db59c6
+SHA512 (whisper.cpp-1.7.5.tar.gz) = 35efd976f60261e108972e3af7b322d723e36be30f5265db3be63752caaed0b52b9da3ece02975da2b83ff30f1eb32663e77fbaaf15f3037e35a525939071c0b
+Size (whisper.cpp-1.7.5.tar.gz) = 6216643 bytes
 SHA1 (patch-ggml_CMakeLists.txt) = 4de575a735f81e280a1c5e4f2e51e9117b1833e4
diff --git a/whisper.cpp/patches/patch-CMakeLists.txt b/whisper.cpp/patches/patch-CMakeLists.txt
deleted file mode 100644
index cefaa3fedc..0000000000
--- a/whisper.cpp/patches/patch-CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- CMakeLists.txt.orig	2024-12-23 08:59:58.392061022 +0000
-+++ CMakeLists.txt
-@@ -121,7 +121,7 @@ whisper_option_depr(WARNING     WHISPER_
- #
- 
- if (NOT TARGET ggml)
--    add_subdirectory(ggml)
-+#    add_subdirectory(ggml)
-     # ... otherwise assume ggml is added by a parent CMakeLists.txt
- endif()
- add_subdirectory(src)


Home | Main Index | Thread Index | Old Index