File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,8 @@ while read c; do
71
71
examples/whisper/whisper.cpp \
72
72
examples/whisper/main.cpp \
73
73
examples/whisper/quantize.cpp \
74
+ LICENSE \
75
+ scripts/gen-authors.sh \
74
76
>> $SRC_WHISPER /ggml-src.patch
75
77
done < $SRC_WHISPER /ggml-commits
76
78
@@ -134,6 +136,9 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
134
136
# examples/whisper/whisper.cpp -> whisper.cpp
135
137
# examples/whisper/main.cpp -> examples/main/main.cpp
136
138
# examples/whisper/quantize.cpp -> examples/quantize/quantize.cpp
139
+ #
140
+ # LICENSE -> LICENSE
141
+ # ggml/scripts/gen-authors.sh -> scripts/gen-authors.sh
137
142
138
143
cat ggml-src.patch | sed \
139
144
-e ' s/src\/ggml\.c/ggml.c/g' \
@@ -172,6 +177,8 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
172
177
-e ' s/examples\/whisper\/whisper\.cpp/whisper.cpp/g' \
173
178
-e ' s/examples\/whisper\/main\.cpp/examples\/main\/main.cpp/g' \
174
179
-e ' s/examples\/whisper\/quantize\.cpp/examples\/quantize\/quantize.cpp/g' \
180
+ -e ' s/LICENSE/LICENSE/g' \
181
+ -e ' s/ggml\/scripts\/gen-authors\.sh/scripts\/gen-authors.sh/g' \
175
182
> ggml-src.patch.tmp
176
183
mv ggml-src.patch.tmp ggml-src.patch
177
184
Original file line number Diff line number Diff line change @@ -41,3 +41,5 @@ cp -rpv ../ggml/examples/whisper/whisper.cpp ./whisper.cpp
41
41
cp -rpv ../ggml/examples/whisper/main.cpp ./examples/main/main.cpp
42
42
cp -rpv ../ggml/examples/whisper/quantize.cpp ./examples/quantize/quantize.cpp
43
43
44
+ cp -rpv ../LICENSE ./LICENSE
45
+ cp -rpv ../ggml/scripts/gen-authors.sh ./scripts/gen-authors.sh
You can’t perform that action at this time.
0 commit comments