File tree 2 files changed +14
-2
lines changed
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 5
5
# Usage:
6
6
#
7
7
# $ cd /path/to/llama.cpp
8
- # $ ./scripts/sync-ggml-am.sh
8
+ # $ ./scripts/sync-ggml-am.sh -skip hash0,hash1,hash2...
9
9
#
10
10
11
11
set -e
24
24
lc=$( cat $SRC_LLAMA /scripts/sync-ggml.last)
25
25
echo " Syncing ggml changes since commit $lc "
26
26
27
+ to_skip=" "
28
+ if [ " $1 " == " -skip" ]; then
29
+ to_skip=$2
30
+ fi
31
+
27
32
cd $SRC_GGML
28
33
29
34
git log --oneline $lc ..HEAD
@@ -40,6 +45,13 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
40
45
fi
41
46
42
47
while read c; do
48
+ if [ -n " $to_skip " ]; then
49
+ if [[ $to_skip == * " $c " * ]]; then
50
+ echo " Skipping $c "
51
+ continue
52
+ fi
53
+ fi
54
+
43
55
git format-patch -k $c ~1..$c --stdout -- \
44
56
include/ggml/ggml* .h \
45
57
src/ggml* .h \
Original file line number Diff line number Diff line change 1
- 1890780da4ea10db88736fcde85f285abf6c64b0
1
+ b306d6e996ec0ace77118fa5098822cdc7f9c88f
You can’t perform that action at this time.
0 commit comments