@@ -59,6 +59,7 @@ while read c; do
59
59
src/ggml* .h \
60
60
src/ggml* .c \
61
61
src/ggml* .cpp \
62
+ src/gguf* .cpp \
62
63
src/ggml-blas/* \
63
64
src/ggml-cann/* \
64
65
src/ggml-cpu/* \
@@ -67,10 +68,12 @@ while read c; do
67
68
src/ggml-kompute/* \
68
69
src/ggml-metal/* \
69
70
src/ggml-musa/* \
71
+ src/ggml-opencl/* \
70
72
src/ggml-rpc/* \
71
73
src/ggml-sycl/* \
72
74
src/ggml-vulkan/* \
73
75
include/ggml* .h \
76
+ include/gguf* .h \
74
77
examples/common.h \
75
78
examples/common.cpp \
76
79
examples/common-ggml.h \
@@ -109,6 +112,7 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
109
112
# src/ggml*.c -> ggml/src/ggml*.c
110
113
# src/ggml*.cpp -> ggml/src/ggml*.cpp
111
114
# src/ggml*.h -> ggml/src/ggml*.h
115
+ # src/gguf*.cpp -> ggml/src/gguf*.cpp
112
116
# src/ggml-blas/* -> ggml/src/ggml-blas/*
113
117
# src/ggml-cann/* -> ggml/src/ggml-cann/*
114
118
# src/ggml-cpu/* -> ggml/src/ggml-cpu/*
@@ -117,11 +121,13 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
117
121
# src/ggml-kompute/* -> ggml/src/ggml-kompute/*
118
122
# src/ggml-metal/* -> ggml/src/ggml-metal/*
119
123
# src/ggml-musa/* -> ggml/src/ggml-musa/*
124
+ # src/ggml-opencl/* > ggml/src/ggml-opencl/*
120
125
# src/ggml-rpc/* -> ggml/src/ggml-rpc/*
121
126
# src/ggml-sycl/* -> ggml/src/ggml-sycl/*
122
127
# src/ggml-vulkan/* -> ggml/src/ggml-vulkan/*
123
128
#
124
129
# include/ggml*.h -> ggml/include/ggml*.h
130
+ # include/gguf*.h -> ggml/include/gguf*.h
125
131
#
126
132
# examples/common.h -> examples/common.h
127
133
# examples/common.cpp -> examples/common.cpp
@@ -138,6 +144,7 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
138
144
-e ' s/([[:space:]]|[ab]\/)src\/ggml(.*)\.c/\1ggml\/src\/ggml\2.c/g' \
139
145
-e ' s/([[:space:]]|[ab]\/)src\/ggml(.*)\.cpp/\1ggml\/src\/ggml\2.cpp/g' \
140
146
-e ' s/([[:space:]]|[ab]\/)src\/ggml(.*)\.h/\1ggml\/src\/ggml\2.h/g' \
147
+ -e ' s/([[:space:]]|[ab]\/)src\/gguf(.*)\.cpp/\1ggml\/src\/gguf\2.cpp/g' \
141
148
-e ' s/([[:space:]]|[ab]\/)src\/ggml-blas\//\1ggml\/src\/ggml-blas\//g' \
142
149
-e ' s/([[:space:]]|[ab]\/)src\/ggml-cann\//\1ggml\/src\/ggml-cann\//g' \
143
150
-e ' s/([[:space:]]|[ab]\/)src\/ggml-cpu\//\1ggml\/src\/ggml-cpu\//g' \
@@ -146,10 +153,12 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
146
153
-e ' s/([[:space:]]|[ab]\/)src\/ggml-kompute\//\1ggml\/src\/ggml-kompute\//g' \
147
154
-e ' s/([[:space:]]|[ab]\/)src\/ggml-metal\//\1ggml\/src\/ggml-metal\//g' \
148
155
-e ' s/([[:space:]]|[ab]\/)src\/ggml-musa\//\1ggml\/src\/ggml-musa\//g' \
156
+ -e ' s/([[:space:]]|[ab]\/)src\/ggml-opencl\//\1ggml\/src\/ggml-opencl\//g' \
149
157
-e ' s/([[:space:]]|[ab]\/)src\/ggml-rpc\//\1ggml\/src\/ggml-rpc\//g' \
150
158
-e ' s/([[:space:]]|[ab]\/)src\/ggml-sycl\//\1ggml\/src\/ggml-sycl\//g' \
151
159
-e ' s/([[:space:]]|[ab]\/)src\/ggml-vulkan\//\1ggml\/src\/ggml-vulkan\//g' \
152
160
-e ' s/([[:space:]]|[ab]\/)include\/ggml(.*)\.h/\1ggml\/include\/ggml\2.h/g' \
161
+ -e ' s/([[:space:]]|[ab]\/)include\/gguf(.*)\.h/\1ggml\/include\/gguf\2.h/g' \
153
162
-e ' s/(^[[:space:]]|[ab]\/)examples\/common\.h/\1examples\/common.h/g' \
154
163
-e ' s/(^[[:space:]]|[ab]\/)examples\/common\.cpp/\1examples\/common.cpp/g' \
155
164
-e ' s/(^[[:space:]]|[ab]\/)examples\/common-ggml\.h/\1examples\/common-ggml.h/g' \
0 commit comments