Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CI: Add native ppc64le CI job using GitHub Actions #29212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sandeepgupta12
Copy link

This PR adds a GitHub Actions workflow to run tests on a native ppc64le (Power) runner.

Runs on PRs to main and maintenance/** branches, and via workflow_dispatch

Builds using spin build --clean -- -Dallow-noblas=true

Installs required build/test dependencies

Runs tests using spin test

Outputs Meson build log if available

This helps ensure compatibility and catch issues specific to the ppc64le architecture.

📌 This is the first step in NumPy Issue #29125 to enable native CI support and future wheel builds for the ppc64le architecture.

cc @rgommers for review

Copy link
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sandeepgupta12. Here is a first round of review comments.

run: |
python3 -m pip install -U pip setuptools wheel
python3 -m pip install spin
echo "/home/runner/.local/bin" >> $GITHUB_PATH
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this needed?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

used to add ~/.local/bin to the system PATH for subsequent steps in the GitHub Actions workflow, so that installed tools (like spin) can be found and executed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah okay. That should be happening only if pip can't write to its default location and switches to .local. The usual solution to that is to use a virtual environment.

Fine to leave this as is until the self-hosted runner is up, so we have a log to look at for the final tweaks.

@charris
Copy link
Member

charris commented Jun 17, 2025

The PyPy failure can be ignored.

@jorenham jorenham changed the title Add native ppc64le CI job using GitHub Actions CI: Add native ppc64le CI job using GitHub Actions Jun 18, 2025
@jorenham jorenham changed the title CI: Add native ppc64le CI job using GitHub Actions CI: Add native ppc64le CI job using GitHub Actions Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Awaiting a code review
Development

Successfully merging this pull request may close these issues.

3 participants