mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
enhance: Add build-go target (#35844)
Add a `build-go` target to the Makefile that only compiles Go. issue: https://github.com/milvus-io/milvus/issues/35611 Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
407fc933e7
commit
ef451f5e1f
4
Makefile
4
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" && \
|
||||
|
Loading…
Reference in New Issue
Block a user