From 7c138d283c1bd011a91cadfee67bc40092db27de Mon Sep 17 00:00:00 2001 From: Marcin Owsiany Date: Thu, 3 Dec 2026 20:09:43 +0100 Subject: [PATCH] Add ppc64le binary build support The release workflow and the Makefile build matrix cover linux/amd64, linux/arm64, linux/s390x and darwin, but not linux/ppc64le. This blocks the StackRox power (PowerVS) CI jobs from deploying via roxie (ROX-40066); they currently fall back to a hand-rolled operator deployment only because no power binary exists. Pure Go with CGO_ENABLED=0, so this is a plain cross-compilation with no code changes - mirrors the s390x support added in #348. User request: "add roxie power support first" (ROX-40066). This code was partially generated by AI. Co-Authored-By: Claude Code --- .github/workflows/release.yml | 4 ++++ Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69fe76a..56ed929 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,6 +46,9 @@ jobs: # Linux s390x GOOS=linux GOARCH=s390x go build -ldflags "${LDFLAGS}" -o roxie-linux-s390x ./cmd + # Linux ppc64le + GOOS=linux GOARCH=ppc64le go build -ldflags "${LDFLAGS}" -o roxie-linux-ppc64le ./cmd + # macOS amd64 GOOS=darwin GOARCH=amd64 go build -ldflags "${LDFLAGS}" -o roxie-darwin-amd64 ./cmd @@ -66,6 +69,7 @@ jobs: roxie-linux-amd64 roxie-linux-arm64 roxie-linux-s390x + roxie-linux-ppc64le roxie-darwin-amd64 roxie-darwin-arm64 checksums.txt diff --git a/Makefile b/Makefile index 0095338..683db7f 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ BINARY := $(BUILD_DIR)/$(BINARY_NAME) INSTALLED_BINARY := $(GOPATH)/bin/$(BINARY_NAME) # Platforms supported by build--. -SUPPORTED_PLATFORMS := linux-amd64 linux-arm64 linux-s390x darwin-amd64 darwin-arm64 +SUPPORTED_PLATFORMS := linux-amd64 linux-arm64 linux-s390x linux-ppc64le darwin-amd64 darwin-arm64 # Convention is that the git tags are of the form # v..--[-dirty]