Skip to content

Commit eac1bc9

Browse files
committed
examples : add new sources
ggml-ci
1 parent cbde66d commit eac1bc9

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

bindings/ruby/ext/cpu.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ ggml/src/ggml-cpu/ggml-cpu-cpp.o: \
22
ggml/src/ggml-cpu/ggml-cpu.cpp \
33
ggml/src/ggml-cpu/unary-ops.cpp \
44
ggml/src/ggml-cpu/binary-ops.cpp \
5+
ggml/src/ggml-cpu/vec.cpp \
6+
ggml/src/ggml-cpu/ops.cpp \
57
ggml/include/ggml-backend.h \
68
ggml/include/ggml.h \
79
ggml/include/ggml-alloc.h \

bindings/ruby/ext/extconf.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,9 @@
170170
'ggml/src/ggml-cpu/ggml-cpu-quants.o' <<
171171
'ggml/src/ggml-cpu/ggml-cpu-traits.o' <<
172172
'ggml/src/ggml-cpu/unary-ops.o' <<
173-
'ggml/src/ggml-cpu/binary-ops.o'
173+
'ggml/src/ggml-cpu/binary-ops.o' <<
174+
'ggml/src/ggml-cpu/vec.o' <<
175+
'ggml/src/ggml-cpu/ops.o'
174176

175177
$OBJ_WHISPER <<
176178
'src/whisper.o' <<

examples/whisper.android.java/app/src/main/jni/whisper/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ set(SOURCE_FILES
1414
${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/ggml-cpu.cpp
1515
${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/unary-ops.cpp
1616
${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/binary-ops.cpp
17+
${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/vec.cpp
18+
${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/ops.cpp
1719
${WHISPER_LIB_DIR}/ggml/src/ggml-alloc.c
1820
${WHISPER_LIB_DIR}/ggml/src/ggml-backend.cpp
1921
${WHISPER_LIB_DIR}/ggml/src/ggml-backend-reg.cpp

examples/whisper.android/lib/src/main/jni/whisper/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ if (NOT GGML_HOME)
3434
${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/ggml-cpu-traits.cpp
3535
${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/unary-ops.cpp
3636
${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/binary-ops.cpp
37+
${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/vec.cpp
38+
${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/ops.cpp
3739
)
3840
endif()
3941

0 commit comments

Comments
 (0)