Skip to content

Replace github.com/mitchellh/gox #30896

@gjenkins8

Description

@gjenkins8

Helm uses https://github.com/mitchellh/gox for cross-platform builds:

helm/Makefile

Lines 170 to 171 in 0dffc58

$(GOX):
(cd /; go install github.com/mitchellh/gox@v1.0.2-0.20220701044238-9f712387e2d2)

helm/Makefile

Lines 181 to 182 in 0dffc58

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurehelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.keep open

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions