From fbea9803f6c70c35dee9926a80fa09cc0999a46d Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Thu, 3 Apr 2025 14:54:14 +0200 Subject: [PATCH] whisper : add makefile target to update ggml submodule This commit adds a recipe/target to the makefile to update the ggml submodule. The motivation for this is that it is not always clear how to update and what if any flags are needed to update the submodule. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index dbda58ac..9c5c16d4 100644 --- a/Makefile +++ b/Makefile @@ -56,3 +56,8 @@ tiny.en tiny base.en base small.en small medium.en medium large-v1 large-v2 larg ./build/bin/whisper-cli -m models/ggml-$@.bin -f $$f ; \ echo "" ; \ done + +.PHONY: update-ggml +update-ggml: + echo "Updating ggml submodule..." + git submodule update --remote ggml