Skip to content

Commit

Permalink
Makefile - adjust _ env stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-gray101 committed Dec 26, 2023
1 parent 8c846ee commit 59ce7a3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -476,10 +476,8 @@ ifdef BUILD_GRPC_FOR_BACKEND_LLAMA
@echo "=== Building gRPC for llama backend... ==="
backend/cpp/grpc/script/build_grpc.sh ${INSTALLED_PACKAGES}
@echo "=== gRPC Built! making backend/cpp/llama/grpc-server! ==="
_PROTOBUF_PROTOC=${INSTALLED_PACKAGES}/bin/protoc \
_GRPC_CPP_PLUGIN_EXECUTABLE=${INSTALLED_PACKAGES}/bin/grpc_cpp_plugin \
PATH=${INSTALLED_PACKAGES}/bin:${PATH} \
CMAKE_ARGS="${CMAKE_ARGS} ${ADDED_CMAKE_ARGS} -D_PROTOBUF_PROTOC=$(_PROTOBUF_PROTOC) -D_GRPC_CPP_PLUGIN_EXECUTABLE=$(_GRPC_CPP_PLUGIN_EXECUTABLE)" LLAMA_VERSION=$(CPPLLAMA_VERSION) $(MAKE) -C backend/cpp/llama grpc-server
CMAKE_ARGS="${CMAKE_ARGS} ${ADDED_CMAKE_ARGS} -D_PROTOBUF_PROTOC='${INSTALLED_PACKAGES}/bin/protoc' -D_GRPC_CPP_PLUGIN_EXECUTABLE='${INSTALLED_PACKAGES}/bin/grpc_cpp_plugin'" LLAMA_VERSION=$(CPPLLAMA_VERSION) $(MAKE) -C backend/cpp/llama grpc-server
file backend/cpp/llama/grpc-server
else
@echo "BUILD_GRPC_FOR_BACKEND_LLAMA is not defined, making backend/cpp/llama grpc-server"
Expand Down

0 comments on commit 59ce7a3

Please sign in to comment.