whisper : fix build (#0)

This commit is contained in:
Georgi Gerganov 2024-11-15 08:40:47 +02:00
parent bdbb906817
commit 5089ab2d6a
2 changed files with 9 additions and 0 deletions

View File

@ -801,6 +801,7 @@ endif
OBJ_GGML += \
ggml/src/ggml.o \
ggml/src/ggml-cpu.o \
ggml/src/ggml-alloc.o \
ggml/src/ggml-backend.o \
ggml/src/ggml-quants.o \
@ -916,6 +917,12 @@ ggml/src/ggml.o: \
ggml/include/ggml.h
$(CC) $(CFLAGS) -c $< -o $@
ggml/src/ggml-cpu.o: \
ggml/src/ggml-cpu.c \
ggml/include/ggml.h \
ggml/src/ggml-common.h
$(CC) $(CFLAGS) -c $< -o $@
ggml/src/ggml-alloc.o: \
ggml/src/ggml-alloc.c \
ggml/include/ggml.h \

View File

@ -4,6 +4,8 @@
#include "coreml/whisper-encoder.h"
#endif
#include "ggml-cpu.h"
#ifdef GGML_USE_METAL
#include "ggml-metal.h"
#endif