From b41eb5e1f38d5f3aa029969199f711e946d7c9e7 Mon Sep 17 00:00:00 2001 From: Dionysius <1341084+dionysius@users.noreply.github.com> Date: Tue, 16 Jan 2024 14:47:47 +0100 Subject: [PATCH] prepend built binaries in PATH for BUILD_GRPC_FOR_BACKEND_LLAMA (#1593) prepend built binaries in PATH --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 815743c9..21780542 100644 --- a/Makefile +++ b/Makefile @@ -468,7 +468,7 @@ ifdef BUILD_GRPC_FOR_BACKEND_LLAMA $(MAKE) -C backend/cpp/grpc build export _PROTOBUF_PROTOC=${INSTALLED_PACKAGES}/bin/proto && \ export _GRPC_CPP_PLUGIN_EXECUTABLE=${INSTALLED_PACKAGES}/bin/grpc_cpp_plugin && \ - export PATH="${PATH}:${INSTALLED_PACKAGES}/bin" && \ + export PATH="${INSTALLED_PACKAGES}/bin:${PATH}" && \ 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."