summaryrefslogtreecommitdiff
path: root/llama.cpp/scripts/sync-ggml.sh
diff options
context:
space:
mode:
Diffstat (limited to 'llama.cpp/scripts/sync-ggml.sh')
-rwxr-xr-xllama.cpp/scripts/sync-ggml.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/llama.cpp/scripts/sync-ggml.sh b/llama.cpp/scripts/sync-ggml.sh
new file mode 100755
index 0000000..2da9b57
--- /dev/null
+++ b/llama.cpp/scripts/sync-ggml.sh
@@ -0,0 +1,20 @@
+#!/usr/bin/env bash
+
+cp -rpv ../ggml/CMakeLists.txt ./ggml/CMakeLists.txt
+cp -rpv ../ggml/src/CMakeLists.txt ./ggml/src/CMakeLists.txt
+
+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/include/ggml*.h ./ggml/include/
+cp -rpv ../ggml/include/gguf*.h ./ggml/include/
+
+cp -rpv ../ggml/tests/test-opt.cpp ./tests/test-opt.cpp
+cp -rpv ../ggml/tests/test-quantize-fns.cpp ./tests/test-quantize-fns.cpp
+cp -rpv ../ggml/tests/test-quantize-perf.cpp ./tests/test-quantize-perf.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