Skip to content

Commit

Permalink
Add ppc64le to cross targets
Browse files Browse the repository at this point in the history
ppc64le is the POWER architecture 🥀

Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester authored and tekton-robot committed Jul 6, 2020
1 parent 8eb0b6d commit 04afb4a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ builds:
- amd64
- arm64
- s390x
- ppc64le
ldflags:
- -w -X github.com/tektoncd/cli/pkg/cmd/version.clientVersion={{.Version}}
archives:
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ vendor:
@go mod vendor

.PHONY: cross
cross: amd64 386 arm arm64 s390x ## build cross platform binaries
cross: amd64 386 arm arm64 s390x ppc64le ## build cross platform binaries

.PHONY: amd64
amd64:
Expand All @@ -55,6 +55,10 @@ arm64:
s390x:
GOOS=linux GOARCH=s390x go build -mod=vendor $(LDFLAGS) -o bin/tkn-linux-s390x ./cmd/tkn

.PHONY: ppc64le
ppc64le:
GOOS=linux GOARCH=ppc64le go build -mod=vendor $(LDFLAGS) -o bin/tkn-linux-ppc64le ./cmd/tkn

bin/%: cmd/% FORCE
go build -mod=vendor $(LDFLAGS) -v -o $@ ./$<

Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,18 @@ Download the latest binary executable for your operating system:
sudo tar xvzf tkn_0.10.0_Linux_s390x.tar.gz -C /usr/local/bin/ tkn
```

* Linux IBM P

*To complete on 0.11.0 release*

```shell
# Get the tar.gz
curl -LO https://github.com/tektoncd/cli/releases/download/v0.10.0/tkn_0.10.0_Linux_ppc64le.tar.gz
# Extract tkn to your PATH (e.g. /usr/local/bin)
sudo tar xvzf tkn_0.10.0_Linux_ppc64le.tar.gz -C /usr/local/bin/ tkn
```


#### Linux RPMs

If you are running on any of the following rpm based distros:
Expand Down

0 comments on commit 04afb4a

Please sign in to comment.