Skip to content

Commit 274487c

Browse files
authored
fix(llama-cpp): do not compress with UPX (#3084)
Fixes: #3041 Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 17634b3 commit 274487c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -783,9 +783,6 @@ else
783783
echo "BUILD_GRPC_FOR_BACKEND_LLAMA is not defined."
784784
LLAMA_VERSION=$(CPPLLAMA_VERSION) $(MAKE) -C backend/cpp/${VARIANT} grpc-server
785785
endif
786-
ifneq ($(UPX),)
787-
$(UPX) backend/cpp/${VARIANT}/grpc-server
788-
endif
789786

790787
# This target is for manually building a variant with-auto detected flags
791788
backend-assets/grpc/llama-cpp: backend-assets/grpc backend/cpp/llama/llama.cpp
@@ -858,9 +855,6 @@ backend-assets/grpc/llama-cpp-grpc: backend-assets/grpc backend/cpp/llama/llama.
858855
backend-assets/util/llama-cpp-rpc-server: backend-assets/grpc/llama-cpp-grpc
859856
mkdir -p backend-assets/util/
860857
cp -rf backend/cpp/llama-grpc/llama.cpp/build/bin/rpc-server backend-assets/util/llama-cpp-rpc-server
861-
ifneq ($(UPX),)
862-
$(UPX) backend-assets/util/llama-cpp-rpc-server
863-
endif
864858

865859
backend-assets/grpc/llama-ggml: sources/go-llama.cpp sources/go-llama.cpp/libbinding.a backend-assets/grpc
866860
CGO_LDFLAGS="$(CGO_LDFLAGS)" C_INCLUDE_PATH=$(CURDIR)/sources/go-llama.cpp LIBRARY_PATH=$(CURDIR)/sources/go-llama.cpp \

0 commit comments

Comments
 (0)