summaryrefslogtreecommitdiff
path: root/scripts/sync-ggml-am.sh
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-04-09 09:23:19 +0300
committerGitHub <noreply@github.com>2024-04-09 09:23:19 +0300
commite11a8999b5690f810c2c99c14347f0834e68c524 (patch)
tree5ee6411bb0151bbdb3efb0ad947d7982659ef16d /scripts/sync-ggml-am.sh
parentcc4a95426d17417d3c83f12bdb514fbe8abe2a88 (diff)
license : update copyright notice + add AUTHORS (#6405)
* license : add AUTHORS * authors : update * scipts : add LICENSE and gen-authors.sh to sync
Diffstat (limited to 'scripts/sync-ggml-am.sh')
-rwxr-xr-xscripts/sync-ggml-am.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/sync-ggml-am.sh b/scripts/sync-ggml-am.sh
index 3ae7f460..7c157eb4 100755
--- a/scripts/sync-ggml-am.sh
+++ b/scripts/sync-ggml-am.sh
@@ -66,6 +66,8 @@ while read c; do
tests/test-quantize-fns.cpp \
tests/test-quantize-perf.cpp \
tests/test-backend-ops.cpp \
+ LICENSE \
+ scripts/gen-authors.sh \
>> $SRC_LLAMA/ggml-src.patch
done < $SRC_LLAMA/ggml-commits
@@ -123,6 +125,9 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
# tests/test-quantize-fns.cpp -> tests/test-quantize-fns.cpp
# tests/test-quantize-perf.cpp -> tests/test-quantize-perf.cpp
# tests/test-backend-ops.cpp -> tests/test-backend-ops.cpp
+ #
+ # LICENSE -> LICENSE
+ # scripts/gen-authors.sh -> scripts/gen-authors.sh
cat ggml-src.patch | sed \
-e 's/src\/ggml\.c/ggml.c/g' \
@@ -156,6 +161,8 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
-e 's/tests\/test-quantize-fns\.cpp/tests\/test-quantize-fns.cpp/g' \
-e 's/tests\/test-quantize-perf\.cpp/tests\/test-quantize-perf.cpp/g' \
-e 's/tests\/test-backend-ops\.cpp/tests\/test-backend-ops.cpp/g' \
+ -e 's/LICENSE/LICENSE/g' \
+ -e 's/scripts\/gen-authors\.sh/scripts\/gen-authors.sh/g' \
> ggml-src.patch.tmp
mv ggml-src.patch.tmp ggml-src.patch