Skip to content

Commit

Permalink
Merge pull request kubernetes-csi#47 from Pensu/multi-arch
Browse files Browse the repository at this point in the history
Adding build for ppc64le
  • Loading branch information
k8s-ci-robot authored Nov 26, 2019
2 parents 8adde49 + 83a4ef1 commit 6d674a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.make
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ build-%: check-go-version-go
CGO_ENABLED=0 GOOS=linux go build $(GOFLAGS_VENDOR) -a -ldflags '-X main.version=$(REV) -extldflags "-static"' -o ./bin/$* ./cmd/$*
if [ "$$ARCH" = "amd64" ]; then \
CGO_ENABLED=0 GOOS=windows go build $(GOFLAGS_VENDOR) -a -ldflags '-X main.version=$(REV) -extldflags "-static"' -o ./bin/$*.exe ./cmd/$* ; \
CGO_ENABLED=0 GOOS=linux GOARCH=ppc64le go build $(GOFLAGS_VENDOR) -a -ldflags '-X main.version=$(REV) -extldflags "-static"' -o ./bin/$*-ppc64le ./cmd/$*
fi

container-%: build-%
Expand Down

0 comments on commit 6d674a7

Please sign in to comment.