Skip to content

Enable MacOS ARM Runner And Wheels#74

Merged
mikedh merged 7 commits intomasterfrom
remove/arm
Mar 10, 2024
Merged

Enable MacOS ARM Runner And Wheels#74
mikedh merged 7 commits intomasterfrom
remove/arm

Conversation

@mikedh
Copy link
Collaborator

@mikedh mikedh commented Dec 5, 2023

@mikedh
Copy link
Collaborator Author

mikedh commented Dec 5, 2023

Tried the suggestion in #61... anyone with an ARM mac want to try the wheels in this build:
https://github.com/BerkeleyAutomation/python-fcl/suites/18753693015/artifacts/1092358848

@mikedh mikedh changed the title Skip building broken mac ARM wheels Enable MacOS ARM Runner And Wheels Mar 10, 2024
@mikedh
Copy link
Collaborator Author

mikedh commented Mar 10, 2024

Github very recently released M1 runners (runs-on: macos-14) and I just enabled them, it is building and running tests natively on arm64 (vs previously was cross-compiling). Tests appear to be passing:


  ============================= test session starts ==============================
  platform darwin -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
  rootdir: /Users/runner/work/python-fcl/python-fcl
  configfile: pyproject.toml
  collected 15 items
  
  ../../../../../../../../../Users/runner/work/python-fcl/python-fcl/tests/test_fcl.py . [  6%]
  .......                                                                  [ 53%]
  ../../../../../../../../../Users/runner/work/python-fcl/python-fcl/tests/test_precision.py . [ 60%]
  ......                                                                   [100%]
  
  ============================== 15 passed in 0.08s ==============================
                                                              ✓ 4.30s

✓ cp312-macosx_arm64 finished in 17.97s

@mikedh mikedh merged commit 9a45423 into master Mar 10, 2024
@mikedh mikedh deleted the remove/arm branch March 10, 2024 19:46
@mikedh mikedh mentioned this pull request Feb 13, 2025
KE7 added a commit to KE7/python-fcl that referenced this pull request Mar 10, 2026
Adds native Linux ARM64 (aarch64) wheel builds using GitHub's
ubuntu-24.04-arm runner, mirroring how macOS ARM was added in BerkeleyAutomation#74.

- Add ubuntu-24.04-arm to the platform matrix in push.yml and release.yml
- Remove explicit archs = ["x86_64"] restriction so cibuildwheel
  auto-detects the native arch on each runner (x86_64 on ubuntu-latest,
  aarch64 on ubuntu-24.04-arm)
- Bump version to 0.7.0.11

All 15 tests pass on linux/aarch64 natively.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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