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

Add macOS (x86_64 and arm64) builds #2

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

Conversation

rsubtil
Copy link

@rsubtil rsubtil commented Mar 6, 2024

This adds new Docker files for cross-compiling to macOS (both x86_64 and arm64) through osxcross, as well as modifying plenty of scripts to support it.

Cross-compilation requires the macOS SDK to be present on images/base-macos64 | images/base-macosarm64, which cannot be publicly distributed. The CI has an intermediate step for extracting the SDK to bypass this. For the end user, an additional note was added on the README.md on how to obtain this SDK.

The x86_64 build was tested on a macOS Monterey machine, and seems to be working without issue.

Warning

The arm64 build is completely untested as I don't have a M1 machine, thus for any issues that arise in this version, my support will be very limited.

@rsubtil rsubtil changed the title Add macOS (x86_64 and arm64) builds Add macOS (x86_64 and arm64) builds Mar 6, 2024
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