Helm uses https://github.com/mitchellh/gox for cross-platform builds:
|
$(GOX): |
|
(cd /; go install github.com/mitchellh/gox@v1.0.2-0.20220701044238-9f712387e2d2) |
|
build-cross: $(GOX) |
|
GOFLAGS="-trimpath" CGO_ENABLED=0 $(GOX) -parallel=3 -output="_dist/{{.OS}}-{{.Arch}}/$(BINNAME)" -osarch='$(TARGETS)' $(GOFLAGS) -tags '$(TAGS)' -ldflags '$(LDFLAGS)' ./cmd/helm |
However, github.com/mitchellh/gox is archived and no longer supported. And should be replaced.
Helm uses https://github.com/mitchellh/gox for cross-platform builds:
helm/Makefile
Lines 170 to 171 in 0dffc58
helm/Makefile
Lines 181 to 182 in 0dffc58
However,
github.com/mitchellh/goxis archived and no longer supported. And should be replaced.