From 93dd06ad4cbe08dba554a0f4258202544c3cf5bd Mon Sep 17 00:00:00 2001 From: Robert Zaremba Date: Wed, 9 Sep 2020 13:31:39 +0200 Subject: [PATCH] Makefile: use go install in the build target (#7248) go install also caches dependency packages and it's faster than go build. Co-authored-by: Alessio Treglia --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e8e24b674ffc..2e219c862cef 100644 --- a/Makefile +++ b/Makefile @@ -84,7 +84,7 @@ include contrib/devtools/Makefile ############################################################################### build: go.sum - go build -mod=readonly ./... + go install -mod=readonly ./... build-simd: go.sum mkdir -p $(BUILDDIR)