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

Native Apple Silicon builds #76

Open
corbindavenport opened this issue Mar 12, 2024 · 1 comment
Open

Native Apple Silicon builds #76

corbindavenport opened this issue Mar 12, 2024 · 1 comment
Assignees

Comments

@corbindavenport
Copy link
Owner

GitHub apparently now has M1 runners, so it might be possible to generate Apple Silicon macOS builds in the cloud alongside the existing x86 macOS, Windows, and Linux builds: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources

If it works, the install script will need to be updated to download the correct build (and remove Rosetta warnings), because Dart can't compile universal binaries.

@corbindavenport
Copy link
Owner Author

Alternatively, it might be possible to compile it on both architectures and then merge them with Xcode's lipo tool, if that can be used from a GitHub action. Then the install script wouldn't have to check the architecture and handle different downloads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant