Skip to content

Commit fedaaeb

Browse files
ggerganovadutilleul
authored andcommitted
whisper : fix build (#0)
1 parent 7f32374 commit fedaaeb

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,7 @@ endif
803803

804804
OBJ_GGML += \
805805
ggml/src/ggml.o \
806+
ggml/src/ggml-cpu.o \
806807
ggml/src/ggml-alloc.o \
807808
ggml/src/ggml-backend.o \
808809
ggml/src/ggml-quants.o \
@@ -918,6 +919,12 @@ ggml/src/ggml.o: \
918919
ggml/include/ggml.h
919920
$(CC) $(CFLAGS) -c $< -o $@
920921

922+
ggml/src/ggml-cpu.o: \
923+
ggml/src/ggml-cpu.c \
924+
ggml/include/ggml.h \
925+
ggml/src/ggml-common.h
926+
$(CC) $(CFLAGS) -c $< -o $@
927+
921928
ggml/src/ggml-alloc.o: \
922929
ggml/src/ggml-alloc.c \
923930
ggml/include/ggml.h \

src/whisper.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#include "coreml/whisper-encoder.h"
55
#endif
66

7+
#include "ggml-cpu.h"
8+
79
#ifdef GGML_USE_METAL
810
#include "ggml-metal.h"
911
#endif

0 commit comments

Comments
 (0)