]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
Rediff patches
authorMathieu Baudier <redacted>
Fri, 30 May 2025 07:18:06 +0000 (09:18 +0200)
committerMathieu Baudier <redacted>
Fri, 30 May 2025 07:18:06 +0000 (09:18 +0200)
debian/patches/0001-disable-some-examples.patch
debian/patches/0004-load-ggml-backends-cli.patch
debian/patches/0004-use-llama-cpp-library.patch

index c4cc5880ac7b3d351568a351ddea70acd8bc4b94..357505a61938deb2b55afcf34ceced4f309d4eba 100644 (file)
@@ -8,7 +8,7 @@ Disable some unused examples
  1 file changed, 6 insertions(+), 6 deletions(-)
 
 diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
-index e1b083d..3d45d4c 100644
+index e4265af..0109886 100644
 --- a/examples/CMakeLists.txt
 +++ b/examples/CMakeLists.txt
 @@ -102,16 +102,16 @@ elseif(CMAKE_JS_VERSION)
index b5c8f4533e2c2ae6ea3c66c3826817270a57de2a..841c3019a21a5468779a0972f80b883e3b25f548 100644 (file)
@@ -7,10 +7,10 @@ Subject: load-ggml-backends-cli
  1 file changed, 3 insertions(+)
 
 diff --git a/examples/cli/cli.cpp b/examples/cli/cli.cpp
-index a84d3cb..d891c82 100644
+index fccfd13..732ff22 100644
 --- a/examples/cli/cli.cpp
 +++ b/examples/cli/cli.cpp
-@@ -929,6 +929,9 @@ int main(int argc, char ** argv) {
+@@ -861,6 +861,9 @@ int main(int argc, char ** argv) {
      SetConsoleOutputCP(CP_UTF8);
  #endif
  
index 004fa9856debe7112b270f31174c376c8b15b11b..17ecb3ca9be8925bd78dcc2ff52ca1cccc695d64 100644 (file)
@@ -3,14 +3,14 @@ Date: Tue, 11 Mar 2025 15:40:11 +0100
 Subject: use-llama-cpp-library
 
 ---
- examples/talk-llama/CMakeLists.txt | 25 ++++---------------------
- 1 file changed, 4 insertions(+), 21 deletions(-)
+ examples/talk-llama/CMakeLists.txt | 28 ++++------------------------
+ 1 file changed, 4 insertions(+), 24 deletions(-)
 
 diff --git a/examples/talk-llama/CMakeLists.txt b/examples/talk-llama/CMakeLists.txt
-index aea1ae6..f86a338 100644
+index 3e3971a..f86a338 100644
 --- a/examples/talk-llama/CMakeLists.txt
 +++ b/examples/talk-llama/CMakeLists.txt
-@@ -3,29 +3,12 @@ if (WHISPER_SDL2)
+@@ -3,32 +3,12 @@ if (WHISPER_SDL2)
      set(CMAKE_CXX_STANDARD_REQUIRED ON)
  
      set(TARGET whisper-talk-llama)
@@ -23,9 +23,12 @@ index aea1ae6..f86a338 100644
 -        llama-context.cpp
 -        llama-cparams.cpp
 -        llama-grammar.cpp
+-        llama-graph.cpp
 -        llama-hparams.cpp
 -        llama-impl.cpp
+-        llama-io.cpp
 -        llama-kv-cache.cpp
+-        llama-memory.cpp
 -        llama-mmap.cpp
 -        llama-model-loader.cpp
 -        llama-model.cpp