Cross-build Intel macOS jobs on Apple Silicon - #705
Draft
CoffeeFlux wants to merge 3 commits into
Draft
Conversation
Use native Apple Silicon build tools with an x86_64 Meson cross file, source-built target dependencies, and Rosetta test execution. Build FFTW and Busted native modules for the target architecture, and assert Intel outputs and non-skipped tests in CI. Keep arm64 Debug on Homebrew and both Debug lanes unpackaged.
Only pass an Autoconf host triplet for a different build CPU, and include the build CPU in the FFTW stamp. Share pkg-config and CMake search restrictions between native arm64 and cross-built Intel Release without affecting Debug.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Draft for consideration after 3.5.0; not intended to block or join that release.
Validation
Locally on Apple Silicon:
All four macOS lanes passed the initial hosted CI run, including Intel architecture checks, Rosetta tests, and Release DMG uploads. Intel Release finished in 26m25s. Intel Debug has since been removed; the reduced six-job matrix passes local workflow validation and awaits its updated CI results. Testing on real Intel hardware remains outstanding; Rosetta testing does not replace a real Intel release smoke test.
Review follow-up
--hostonly when the build and target CPUs differ. Include the build CPU in the local stamp to invalidate prior configurations.tools/macos-release.ini: a native file for arm64 Release and part of the composed Intel cross files. arm64 Debug is unchanged.