File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ CC = gcc
4141CXX = g++
4242CFLAGS = -Wall -Wextra -Wno-unused-parameter -I$(SRC_DIR ) -I$(LLAMA_DIR ) /ggml/include -I$(LLAMA_DIR ) /include -I$(WHISPER_DIR ) /include -I$(MINIAUDIO_DIR )
4343LLAMA_OPTIONS = $(LLAMA ) -DBUILD_SHARED_LIBS=OFF -DLLAMA_CURL=OFF -DLLAMA_BUILD_EXAMPLES=OFF -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_TOOLS=OFF -DLLAMA_BUILD_SERVER=OFF -DGGML_RPC=OFF
44- WHISPER_OPTIONS = $(WHISPER ) -DBUILD_SHARED_LIBS=OFF -DWHISPER_BUILD_EXAMPLES=OFF -DWHISPER_BUILD_TESTS=OFF -DWHISPER_BUILD_SERVER=OFF -DWHISPER_RPC=OFF
44+ WHISPER_OPTIONS = $(WHISPER ) -DBUILD_SHARED_LIBS=OFF -DWHISPER_BUILD_EXAMPLES=OFF -DWHISPER_BUILD_TESTS=OFF -DWHISPER_BUILD_SERVER=OFF -DWHISPER_RPC=OFF -DWHISPER_USE_SYSTEM_GGML=ON -Dggml_DIR= $( BUILD_LLAMA ) /ggml/src
4545MINIAUDIO_OPTIONS = $(MINIAUDIO ) -DBUILD_SHARED_LIBS=OFF -DMINIAUDIO_BUILD_EXAMPLES=OFF -DMINIAUDIO_BUILD_TESTS=OFF
4646# MinGW produces .a files without lib prefix, use -l:filename.a syntax
4747ifeq ($(PLATFORM ) ,windows)
@@ -239,7 +239,7 @@ build/llama.cpp.stamp:
239239 cmake --build $(BUILD_LLAMA ) --config Release $(LLAMA_ARGS ) $(ARGS )
240240 touch $@
241241
242- build/whisper.cpp.stamp :
242+ build/whisper.cpp.stamp : build/llama.cpp.stamp
243243 cmake -B $(BUILD_WHISPER ) $(WHISPER_OPTIONS ) $(WHISPER_DIR )
244244 cmake --build $(BUILD_WHISPER ) --config Release $(WHISPER_ARGS ) $(ARGS )
245245 touch $@
You can’t perform that action at this time.
0 commit comments