Spaces:
Sleeping
Sleeping
whisper : fix build (#0)
Browse files- Makefile +7 -0
- src/whisper.cpp +2 -0
Makefile
CHANGED
|
@@ -801,6 +801,7 @@ endif
|
|
| 801 |
|
| 802 |
OBJ_GGML += \
|
| 803 |
ggml/src/ggml.o \
|
|
|
|
| 804 |
ggml/src/ggml-alloc.o \
|
| 805 |
ggml/src/ggml-backend.o \
|
| 806 |
ggml/src/ggml-quants.o \
|
|
@@ -916,6 +917,12 @@ ggml/src/ggml.o: \
|
|
| 916 |
ggml/include/ggml.h
|
| 917 |
$(CC) $(CFLAGS) -c $< -o $@
|
| 918 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 919 |
ggml/src/ggml-alloc.o: \
|
| 920 |
ggml/src/ggml-alloc.c \
|
| 921 |
ggml/include/ggml.h \
|
|
|
|
| 801 |
|
| 802 |
OBJ_GGML += \
|
| 803 |
ggml/src/ggml.o \
|
| 804 |
+
ggml/src/ggml-cpu.o \
|
| 805 |
ggml/src/ggml-alloc.o \
|
| 806 |
ggml/src/ggml-backend.o \
|
| 807 |
ggml/src/ggml-quants.o \
|
|
|
|
| 917 |
ggml/include/ggml.h
|
| 918 |
$(CC) $(CFLAGS) -c $< -o $@
|
| 919 |
|
| 920 |
+
ggml/src/ggml-cpu.o: \
|
| 921 |
+
ggml/src/ggml-cpu.c \
|
| 922 |
+
ggml/include/ggml.h \
|
| 923 |
+
ggml/src/ggml-common.h
|
| 924 |
+
$(CC) $(CFLAGS) -c $< -o $@
|
| 925 |
+
|
| 926 |
ggml/src/ggml-alloc.o: \
|
| 927 |
ggml/src/ggml-alloc.c \
|
| 928 |
ggml/include/ggml.h \
|
src/whisper.cpp
CHANGED
|
@@ -4,6 +4,8 @@
|
|
| 4 |
#include "coreml/whisper-encoder.h"
|
| 5 |
#endif
|
| 6 |
|
|
|
|
|
|
|
| 7 |
#ifdef GGML_USE_METAL
|
| 8 |
#include "ggml-metal.h"
|
| 9 |
#endif
|
|
|
|
| 4 |
#include "coreml/whisper-encoder.h"
|
| 5 |
#endif
|
| 6 |
|
| 7 |
+
#include "ggml-cpu.h"
|
| 8 |
+
|
| 9 |
#ifdef GGML_USE_METAL
|
| 10 |
#include "ggml-metal.h"
|
| 11 |
#endif
|