File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ SKIP_UNITTEST ?= 0
5959CC = gcc
6060CXX = g++
6161CFLAGS = -Wall -Wextra -Wno-unused-parameter -I$(SRC_DIR ) -I$(BUILD_GGML ) /include -I$(WHISPER_DIR ) /include -I$(MINIAUDIO_DIR ) -I$(LLAMA_DIR ) /tools/mtmd
62- LLAMA_OPTIONS = $(LLAMA ) -DBUILD_SHARED_LIBS=OFF -DLLAMA_BUILD_EXAMPLES=OFF -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_TOOLS=ON -DLLAMA_BUILD_SERVER=OFF -DGGML_RPC=OFF
62+ LLAMA_OPTIONS = $(LLAMA ) -DBUILD_SHARED_LIBS=OFF -DLLAMA_BUILD_COMMON=ON - DLLAMA_BUILD_EXAMPLES=OFF -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_TOOLS=ON -DLLAMA_BUILD_SERVER=OFF -DGGML_RPC=OFF
6363WHISPER_OPTIONS = $(LLAMA ) $(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
6464MINIAUDIO_OPTIONS = $(MINIAUDIO ) -DBUILD_SHARED_LIBS=OFF -DMINIAUDIO_BUILD_EXAMPLES=OFF -DMINIAUDIO_BUILD_TESTS=OFF
6565# MinGW produces .a files without lib prefix, use -l:filename.a syntax
275275endif
276276$(BUILD_DIR ) /llama.cpp.stamp :
277277 cmake -B $(BUILD_LLAMA ) $(LLAMA_OPTIONS ) $(LLAMA_DIR )
278- cmake --build $(BUILD_LLAMA ) --config Release $(LLAMA_ARGS ) $(ARGS )
278+ cmake --build $(BUILD_LLAMA ) --config Release --target llama --target mtmd $(LLAMA_ARGS ) $(ARGS )
279279 cmake --install $(BUILD_LLAMA ) --prefix $(BUILD_GGML )
280280 touch $@
281281
You can’t perform that action at this time.
0 commit comments