Skip to content
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

Address macos-latest update to arm-based MacOS 14 #389

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

nirosys
Copy link
Contributor

@nirosys nirosys commented Nov 14, 2024

Issue #, if available: n/a

Description of changes:
Prior to this PR the release workflow was relying on the macos-latest runner in order to build x86_64 wheels. Since our 0.12.0 release, the macos-latest runner has become an alias for macos-14, which is an arm-based runner. This change causes our x86 wheel build to fail.

Currently, macos-13 is the only standard x86-based MacOS runner.

This PR changes our use of macos-latest to macos-13 in order to regail x86 build capabilities. A future task should be taken up to use Arm-based runners to cross-compile x86.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@nirosys
Copy link
Contributor Author

nirosys commented Nov 14, 2024

Added issue #390 to track cross-compilation.

@nirosys nirosys marked this pull request as ready for review November 14, 2024 00:59
@@ -97,7 +97,7 @@ jobs:
matrix:
include:
# See https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip for more details.
- os: macos-latest
- os: macos-13 # macos-13 is the last non-large x86-based runner. Need to look into cross-compiling.
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't understand what non-large means here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

A better term would probably be standard runners. Runners that aren't -large, or -xlarge.

You can opt into large or x-large runners like macos-13-large. For intel, the standard (non-large) runners stop at MacOS 13 with macos-13-xlarge being Arm, but standard and large being intel. MacOS 14 flips to Arm for standard, and xlarge, but large is intel.

@nirosys nirosys merged commit 698f856 into amazon-ion:master Nov 14, 2024
19 checks passed
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.

2 participants