Skip to content

Add ppc64le binary build support - #373

Open
porridge wants to merge 1 commit into
mainfrom
add-ppc64le-support
Open

porridge wants to merge 1 commit into
mainfrom
add-ppc64le-support

Conversation

@porridge

@porridge porridge commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Jira: ROX-40066 — Add ppc64le roxie binary support; adopt s390x support; drop power/s390x operator special-case in run-custom-pz.sh

Problem

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 (stackrox/stackrox ROX-40066): qa-tests-backend/scripts/run-custom-pz.sh currently falls back to a hand-rolled operator deployment only because no power binary exists.

Solution

  • Add a GOOS=linux GOARCH=ppc64le build to the release workflow, producing a roxie-linux-ppc64le release asset (plus checksums).
  • Add linux-ppc64le to SUPPORTED_PLATFORMS in the Makefile so make build-linux-ppc64le works.

Mirrors the s390x support from #348. Roxie is pure Go with CGO_ENABLED=0, so this is a plain cross-compilation — no code changes.

Verification

  • make build-linux-ppc64le builds; file reports ELF 64-bit ... 64-bit PowerPC ... OpenPOWER ELF V2 ABI; the binary runs and roxie version prints the expected version.
  • make build-linux-riscv64 still fails with the "Unsupported platform" error listing the supported set.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added a downloadable Linux build for 64-bit PowerPC systems (ppc64le) to each release, expanding the platforms available to users.

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 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review.

Walkthrough

The Makefile now accepts the Linux ppc64le platform. The release workflow builds the corresponding binary and includes it in the GitHub release files.

Changes: Linux ppc64le release support

Layer / File(s) Summary
Build and publish the ppc64le binary
Makefile, .github/workflows/release.yml
The Makefile accepts linux-ppc64le. The release workflow builds roxie-linux-ppc64le and adds it to the GitHub release file list.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Feature

Suggested reviewers: mclasmeier

Merge Risk: Minimal · up to 7c138

This adds a Linux ppc64le roxie binary to the release builds and release assets. Existing platforms are unchanged, and no merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "Add ppc64le binary build support" matches the main change. The PR adds a Linux ppc64le binary to the release workflow and adds linux-ppc64le to SUPPORTED_PLATFORMS in the Makefile, which en…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title "Add ppc64le binary build support" matches the main change. The PR adds a Linux ppc64le binary to the release workflow and adds linux-ppc64le to SUPPORTED_PLATFORMS in the Makefile, which enables make build-linux-ppc64le. The title is specific and concise, and it names the architecture and the type of change.

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 705d634 and 7c138d2.

Files selected for processing: 2

  • .github/workflows/release.yml
  • Makefile

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 10 remain after this review.

@porridge
porridge marked this pull request as ready for review December 4, 2026 06:06
@porridge
porridge requested a review from mclasmeier December 4, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant