Skip to content

Commit

Permalink
Merge pull request #8542 from rook/mergify/bp/release-1.6/pr-8541
Browse files Browse the repository at this point in the history
build: print go version when building (backport #8541)
  • Loading branch information
BlaineEXE committed Aug 16, 2021
2 parents 8f84cd8 + 6f0f3ad commit 8da9432
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/makelib/golang.mk
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ go.init:
.PHONY: go.build
go.build:
@echo === go build $(PLATFORM)
$(info Go version: $(shell $(GO) version))
$(foreach p,$(GO_STATIC_PACKAGES),@CGO_ENABLED=0 $(GO) build -v -o $(GO_OUT_DIR)/$(lastword $(subst /, ,$(p)))$(GO_OUT_EXT) $(GO_STATIC_FLAGS) $(p)${\n})
$(foreach p,$(GO_TEST_PACKAGES),@CGO_ENABLED=0 $(GO) test -v -c -o $(GO_TEST_OUTPUT)/$(lastword $(subst /, ,$(p)))$(GO_OUT_EXT) $(GO_STATIC_FLAGS) $(p)${\n})

Expand Down

0 comments on commit 8da9432

Please sign in to comment.