From 96a7a3b59ff73f71bfcbd080bc49094d3f30d101 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Fri, 14 Jun 2024 12:28:46 +0200 Subject: [PATCH] fix(Makefile): enable STATIC on dist (#2569) Signed-off-by: Ettore Di Giacinto --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 35b9d5f96f26..40fdae8ef8ad 100644 --- a/Makefile +++ b/Makefile @@ -329,7 +329,7 @@ backend-assets/lib: mkdir -p backend-assets/lib dist: - STATIC=true $(MAKE) backend-assets/grpc/llama-cpp-avx2 + $(MAKE) backend-assets/grpc/llama-cpp-avx2 ifeq ($(OS),Darwin) $(info ${GREEN}I Skip CUDA/hipblas build on MacOS${RESET}) else @@ -338,7 +338,7 @@ else $(MAKE) backend-assets/grpc/llama-cpp-sycl_f16 $(MAKE) backend-assets/grpc/llama-cpp-sycl_f32 endif - $(MAKE) build + STATIC=true $(MAKE) build mkdir -p release # if BUILD_ID is empty, then we don't append it to the binary name ifeq ($(BUILD_ID),) @@ -351,7 +351,7 @@ endif dist-cross-linux-arm64: CMAKE_ARGS="$(CMAKE_ARGS) -DLLAMA_NATIVE=off" GRPC_BACKENDS="backend-assets/grpc/llama-cpp-fallback backend-assets/grpc/llama-cpp-grpc backend-assets/util/llama-cpp-rpc-server" \ - $(MAKE) build + STATIC=true $(MAKE) build mkdir -p release # if BUILD_ID is empty, then we don't append it to the binary name ifeq ($(BUILD_ID),)