From 423ecd648e666c9c2479df145bdbb2933967514d Mon Sep 17 00:00:00 2001 From: "yihao.dai" Date: Mon, 2 Sep 2024 10:45:02 +0800 Subject: [PATCH] enhance: Add build-go target (#35844) (#35845) Add a build-go target to the Makefile that only compiles Go. issue: https://github.com/milvus-io/milvus/issues/35611 pr: https://github.com/milvus-io/milvus/pull/35844 Signed-off-by: bigsheeper --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2f80eed5bd..4d42149f68 100644 --- a/Makefile +++ b/Makefile @@ -81,7 +81,9 @@ ifeq (${ENABLE_AZURE}, false) AZURE_OPTION := -Z endif -milvus: build-cpp print-build-info +milvus: build-cpp print-build-info build-go + +build-go: @echo "Building Milvus ..." @source $(PWD)/scripts/setenv.sh && \ mkdir -p $(INSTALL_PATH) && go env -w CGO_ENABLED="1" && \