@@ -65,6 +65,8 @@ while read c; do
65
65
examples/common.cpp \
66
66
examples/common-ggml.h \
67
67
examples/common-ggml.cpp \
68
+ examples/whisper/grammar-parser.h \
69
+ examples/whisper/grammar-parser.cpp \
68
70
examples/whisper/whisper.h \
69
71
examples/whisper/whisper.cpp \
70
72
examples/whisper/main.cpp \
@@ -121,10 +123,12 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
121
123
# include/ggml/ggml-alloc.h -> ggml-alloc.h
122
124
# include/ggml/ggml-backend.h -> ggml-backend.h
123
125
#
124
- # examples/common.h -> examples/common.h
125
- # examples/common.cpp -> examples/common.cpp
126
- # examples/common-ggml.h -> examples/common-ggml.h
127
- # examples/common-ggml.cpp -> examples/common-ggml.cpp
126
+ # examples/common.h -> examples/common.h
127
+ # examples/common.cpp -> examples/common.cpp
128
+ # examples/common-ggml.h -> examples/common-ggml.h
129
+ # examples/common-ggml.cpp -> examples/common-ggml.cpp
130
+ # examples/whisper/grammar-parser.h -> examples/grammar-parser.h
131
+ # examples/whisper/grammar-parser.cpp -> examples/grammar-parser.cpp
128
132
#
129
133
# examples/whisper/whisper.h -> whisper.h
130
134
# examples/whisper/whisper.cpp -> whisper.cpp
@@ -162,6 +166,8 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
162
166
-e ' s/examples\/common\.cpp/examples\/common.cpp/g' \
163
167
-e ' s/examples\/common-ggml\.h/examples\/common-ggml.h/g' \
164
168
-e ' s/examples\/common-ggml\.cpp/examples\/common-ggml.cpp/g' \
169
+ -e ' s/examples\/whisper\/grammar-parser\.h/examples\/grammar-parser.h/g' \
170
+ -e ' s/examples\/whisper\/grammar-parser\.cpp/examples\/grammar-parser.cpp/g' \
165
171
-e ' s/examples\/whisper\/whisper\.h/whisper.h/g' \
166
172
-e ' s/examples\/whisper\/whisper\.cpp/whisper.cpp/g' \
167
173
-e ' s/examples\/whisper\/main\.cpp/examples\/main\/main.cpp/g' \
0 commit comments