From 6f34e8f0448428980002e1f7fe5b2bd5a8069045 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sat, 25 Nov 2023 13:53:51 +0100 Subject: [PATCH] fix: propagate CMAKE_ARGS when building grpc (#1334) Signed-off-by: Ettore Di Giacinto --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d7fe0f5c..7c5d01b6 100644 --- a/Makefile +++ b/Makefile @@ -430,7 +430,7 @@ ifdef BUILD_GRPC_FOR_BACKEND_LLAMA export _PROTOBUF_PROTOC=${INSTALLED_PACKAGES}/bin/proto && \ export _GRPC_CPP_PLUGIN_EXECUTABLE=${INSTALLED_PACKAGES}/bin/grpc_cpp_plugin && \ export PATH=${PATH}:${INSTALLED_PACKAGES}/bin && \ - CMAKE_ARGS="${ADDED_CMAKE_ARGS}" LLAMA_VERSION=$(CPPLLAMA_VERSION) $(MAKE) -C backend/cpp/llama grpc-server + CMAKE_ARGS="${CMAKE_ARGS} ${ADDED_CMAKE_ARGS}" LLAMA_VERSION=$(CPPLLAMA_VERSION) $(MAKE) -C backend/cpp/llama grpc-server else echo "BUILD_GRPC_FOR_BACKEND_LLAMA is not defined." LLAMA_VERSION=$(CPPLLAMA_VERSION) $(MAKE) -C backend/cpp/llama grpc-server