mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-26 14:20:31 +01:00
scipts : add LICENSE and gen-authors.sh to sync
This commit is contained in:
parent
0e0d4e821f
commit
072e0a4d3b
@ -65,6 +65,8 @@ while read c; do
|
|||||||
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 \
|
||||||
|
scripts/gen-authors.sh \
|
||||||
>> $SRC_LLAMA/ggml-src.patch
|
>> $SRC_LLAMA/ggml-src.patch
|
||||||
done < $SRC_LLAMA/ggml-commits
|
done < $SRC_LLAMA/ggml-commits
|
||||||
|
|
||||||
@ -122,6 +124,9 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
|
|||||||
# tests/test-quantize-fns.cpp -> tests/test-quantize-fns.cpp
|
# tests/test-quantize-fns.cpp -> tests/test-quantize-fns.cpp
|
||||||
# tests/test-quantize-perf.cpp -> tests/test-quantize-perf.cpp
|
# tests/test-quantize-perf.cpp -> tests/test-quantize-perf.cpp
|
||||||
# tests/test-backend-ops.cpp -> tests/test-backend-ops.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 \
|
cat ggml-src.patch | sed \
|
||||||
-e 's/src\/ggml\.c/ggml.c/g' \
|
-e 's/src\/ggml\.c/ggml.c/g' \
|
||||||
@ -155,6 +160,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-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-quantize-perf\.cpp/tests\/test-quantize-perf.cpp/g' \
|
||||||
-e 's/tests\/test-backend-ops\.cpp/tests\/test-backend-ops.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
|
> ggml-src.patch.tmp
|
||||||
mv ggml-src.patch.tmp ggml-src.patch
|
mv ggml-src.patch.tmp ggml-src.patch
|
||||||
|
|
||||||
|
@ -31,3 +31,6 @@ cp -rpv ../ggml/include/ggml/ggml-backend.h ./ggml-backend.h
|
|||||||
cp -rpv ../ggml/tests/test-opt.cpp ./tests/test-opt.cpp
|
cp -rpv ../ggml/tests/test-opt.cpp ./tests/test-opt.cpp
|
||||||
cp -rpv ../ggml/tests/test-grad0.cpp ./tests/test-grad0.cpp
|
cp -rpv ../ggml/tests/test-grad0.cpp ./tests/test-grad0.cpp
|
||||||
cp -rpv ../ggml/tests/test-backend-ops.cpp ./tests/test-backend-ops.cpp
|
cp -rpv ../ggml/tests/test-backend-ops.cpp ./tests/test-backend-ops.cpp
|
||||||
|
|
||||||
|
cp -rpv ../LICENSE ./LICENSE
|
||||||
|
cp -rpv ../ggml/scripts/gen-authors.sh ./scripts/gen-authors.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user