From: Georgi Gerganov Date: Fri, 27 Feb 2026 10:24:33 +0000 (+0200) Subject: scripts : sync gguf X-Git-Tag: upstream/1.8.4~104 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=aaf8bdf3b8e48b4b2c28b35865691b0bd3b7df07;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp scripts : sync gguf --- diff --git a/scripts/sync-ggml-am.sh b/scripts/sync-ggml-am.sh index 1f87e231..bc7c1b2f 100755 --- a/scripts/sync-ggml-am.sh +++ b/scripts/sync-ggml-am.sh @@ -60,8 +60,8 @@ while read c; do cmake/common.cmake \ cmake/ggml-config.cmake.in \ src/ggml-cpu/cmake/FindSIMD.cmake \ - src/ggml*.h \ src/ggml* \ + src/gguf* \ include/ggml*.h \ include/gguf*.h \ examples/common.h \ @@ -105,6 +105,7 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then # src/ggml-cpu/cmake/FindSIMD.cmake -> ggml/src/ggml-cpu/cmake/FindSIMD.cmake # # src/ggml* -> ggml/src/ggml*.c + # src/gguf* -> ggml/src/gguf*.c # # include/ggml*.h -> ggml/include/ggml*.h # include/gguf*.h -> ggml/include/gguf*.h @@ -126,6 +127,7 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then -e 's/(^[[:space:]]| [ab]\/)cmake\/ggml-config.cmake.in/\1ggml\/cmake\/ggml-config.cmake.in/g' \ -e 's/(^[[:space:]]| [ab]\/)src\/ggml-cpu\/cmake\/FindSIMD.cmake/\1ggml\/src\/ggml-cpu\/cmake\/FindSIMD.cmake/g' \ -e 's/([[:space:]]| [ab]\/)src\/ggml(.*)/\1ggml\/src\/ggml\2/g' \ + -e 's/([[:space:]]| [ab]\/)src\/gguf(.*)/\1ggml\/src\/gguf\2/g' \ -e 's/(^[[:space:]]| [ab]\/)include\/ggml(.*)\.h/\1ggml\/include\/ggml\2.h/g' \ -e 's/(^[[:space:]]| [ab]\/)include\/gguf(.*)\.h/\1ggml\/include\/gguf\2.h/g' \ -e 's/(^[[:space:]]| [ab]\/)examples\/common\.h/\1examples\/common.h/g' \ diff --git a/scripts/sync-ggml.sh b/scripts/sync-ggml.sh index 4296ddf5..099d5445 100755 --- a/scripts/sync-ggml.sh +++ b/scripts/sync-ggml.sh @@ -7,6 +7,7 @@ cp -rpv ../ggml/cmake/* ./ggml/cmake/ cp -rpv ../ggml/src/ggml-cpu/cmake/* ./ggml/src/ggml-cpu/cmake/ cp -rpv ../ggml/src/ggml* ./ggml/src/ +cp -rpv ../ggml/src/gguf* ./ggml/src/ cp -rpv ../ggml/include/ggml*.h ./ggml/include/ cp -rpv ../ggml/include/gguf*.h ./ggml/include/