File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ while read c; do
6060 cmake/common.cmake \
6161 cmake/ggml-config.cmake.in \
6262 src/ggml-cpu/cmake/FindSIMD.cmake \
63- src/ggml* .h \
6463 src/ggml* \
64+ src/gguf* \
6565 include/ggml* .h \
6666 include/gguf* .h \
6767 examples/common.h \
@@ -105,6 +105,7 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
105105 # src/ggml-cpu/cmake/FindSIMD.cmake -> ggml/src/ggml-cpu/cmake/FindSIMD.cmake
106106 #
107107 # src/ggml* -> ggml/src/ggml*.c
108+ # src/gguf* -> ggml/src/gguf*.c
108109 #
109110 # include/ggml*.h -> ggml/include/ggml*.h
110111 # include/gguf*.h -> ggml/include/gguf*.h
@@ -126,6 +127,7 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
126127 -e ' s/(^[[:space:]]| [ab]\/)cmake\/ggml-config.cmake.in/\1ggml\/cmake\/ggml-config.cmake.in/g' \
127128 -e ' s/(^[[:space:]]| [ab]\/)src\/ggml-cpu\/cmake\/FindSIMD.cmake/\1ggml\/src\/ggml-cpu\/cmake\/FindSIMD.cmake/g' \
128129 -e ' s/([[:space:]]| [ab]\/)src\/ggml(.*)/\1ggml\/src\/ggml\2/g' \
130+ -e ' s/([[:space:]]| [ab]\/)src\/gguf(.*)/\1ggml\/src\/gguf\2/g' \
129131 -e ' s/(^[[:space:]]| [ab]\/)include\/ggml(.*)\.h/\1ggml\/include\/ggml\2.h/g' \
130132 -e ' s/(^[[:space:]]| [ab]\/)include\/gguf(.*)\.h/\1ggml\/include\/gguf\2.h/g' \
131133 -e ' s/(^[[:space:]]| [ab]\/)examples\/common\.h/\1examples\/common.h/g' \
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ cp -rpv ../ggml/cmake/* ./ggml/cmake/
77cp -rpv ../ggml/src/ggml-cpu/cmake/* ./ggml/src/ggml-cpu/cmake/
88
99cp -rpv ../ggml/src/ggml* ./ggml/src/
10+ cp -rpv ../ggml/src/gguf* ./ggml/src/
1011
1112cp -rpv ../ggml/include/ggml* .h ./ggml/include/
1213cp -rpv ../ggml/include/gguf* .h ./ggml/include/
You can’t perform that action at this time.
0 commit comments