From: Georgi Gerganov Date: Tue, 9 Apr 2024 17:25:50 +0000 (+0300) Subject: scripts : update sync X-Git-Tag: upstream/1.7.4~845 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=3b8aade3c2f29496a34f87f554e0cf1287ff8e06;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp scripts : update sync --- diff --git a/scripts/sync-ggml-am.sh b/scripts/sync-ggml-am.sh index 00149931..70ff16d0 100755 --- a/scripts/sync-ggml-am.sh +++ b/scripts/sync-ggml-am.sh @@ -71,6 +71,8 @@ while read c; do examples/whisper/whisper.cpp \ examples/whisper/main.cpp \ examples/whisper/quantize.cpp \ + LICENSE \ + scripts/gen-authors.sh \ >> $SRC_WHISPER/ggml-src.patch done < $SRC_WHISPER/ggml-commits @@ -134,6 +136,9 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then # examples/whisper/whisper.cpp -> whisper.cpp # examples/whisper/main.cpp -> examples/main/main.cpp # examples/whisper/quantize.cpp -> examples/quantize/quantize.cpp + # + # LICENSE -> LICENSE + # ggml/scripts/gen-authors.sh -> scripts/gen-authors.sh cat ggml-src.patch | sed \ -e 's/src\/ggml\.c/ggml.c/g' \ @@ -172,6 +177,8 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then -e 's/examples\/whisper\/whisper\.cpp/whisper.cpp/g' \ -e 's/examples\/whisper\/main\.cpp/examples\/main\/main.cpp/g' \ -e 's/examples\/whisper\/quantize\.cpp/examples\/quantize\/quantize.cpp/g' \ + -e 's/LICENSE/LICENSE/g' \ + -e 's/ggml\/scripts\/gen-authors\.sh/scripts\/gen-authors.sh/g' \ > ggml-src.patch.tmp mv ggml-src.patch.tmp ggml-src.patch diff --git a/scripts/sync-ggml.sh b/scripts/sync-ggml.sh index 1482cfbc..2efffcd2 100755 --- a/scripts/sync-ggml.sh +++ b/scripts/sync-ggml.sh @@ -41,3 +41,5 @@ cp -rpv ../ggml/examples/whisper/whisper.cpp ./whisper.cpp cp -rpv ../ggml/examples/whisper/main.cpp ./examples/main/main.cpp cp -rpv ../ggml/examples/whisper/quantize.cpp ./examples/quantize/quantize.cpp +cp -rpv ../LICENSE ./LICENSE +cp -rpv ../ggml/scripts/gen-authors.sh ./scripts/gen-authors.sh