From 52ed730bf9d4f99169a5d43650b9068fdeebf795 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sat, 25 Nov 2023 10:23:59 +0100 Subject: [PATCH] fix: propagate CMAKE_ARGS when building grpc Signed-off-by: Ettore Di Giacinto --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d7fe0f5c809f..f54aacb1fd52 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="${ADDED_CMAKE_ARGS} ${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