Skip to content

build: add support for ARM architecture #1056

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

behnazh-w
Copy link
Member

@behnazh-w behnazh-w commented Apr 15, 2025

Summary

This PR adds support for building and publishing ARM-compatible Python wheels for the Macaron package, adding compatibility for ARM-based systems.

Description of changes

To address the lack of ARM-compatible Python wheels, this PR introduces changes to the GitHub Actions workflow and packaging process to ensure that .whl files for ARM architectures (e.g., aarch64) are built and uploaded alongside existing x86_64 artifacts.

Changes include:

  • Matrix-based GitHub Actions build jobs for ubuntu-24.04-arm runners.
  • Enhanced artifact handling logic to compute and verify hashes for both ARM and x86_64 builds.
  • Packaging metadata and naming updates to correctly reflect the target architecture in the wheel filenames.
  • Environment variable support for differentiating builds across architectures.

Related issues

Closes #1050

Checklist

  • I have reviewed the contribution guide.
  • My PR title and commits follow the Conventional Commits convention.
  • My commits include the "Signed-off-by" line.
  • I have signed my commits following the instructions provided by GitHub. Note that we run GitHub's commit verification tool to check the commit signatures. A green verified label should appear next to all of your commits on GitHub.
  • I have updated the relevant documentation, if applicable.
  • I have tested my changes and verified they work as expected.

@behnazh-w behnazh-w linked an issue Apr 15, 2025 that may be closed by this pull request
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 15, 2025
@behnazh-w behnazh-w force-pushed the 1050-create-arm-compatible-wheel-file-for-macaron-python-package branch 7 times, most recently from ea12f05 to 3a5b82c Compare April 16, 2025 08:59
@behnazh-w behnazh-w force-pushed the 1050-create-arm-compatible-wheel-file-for-macaron-python-package branch from 3a5b82c to 46102f8 Compare April 17, 2025 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create ARM-compatible wheel file for Macaron python package
1 participant