Skip to content

Add support for cross compiling from Apple Silicon to Intel #36875

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

Conversation

keith
Copy link
Member

@keith keith commented Apr 12, 2021

If you have an Apple Silicon machine but want to produce an Intel
binary, using --cross-compile-hosts macosx-x86_64 can be useful.

If you have an Apple Silicon machine but want to produce an Intel
binary, using `--cross-compile-hosts macosx-x86_64` can be useful.
@keith
Copy link
Member Author

keith commented Apr 12, 2021

I haven't stress tested this, I've only used it for some small stuff, but it worked without issue for me.

@CodaFi
Copy link
Contributor

CodaFi commented Apr 13, 2021

@swift-ci test

@keith
Copy link
Member Author

keith commented Apr 16, 2021

doesn't look like this windows failure was related

@CodaFi CodaFi merged commit c8ba622 into swiftlang:main Apr 20, 2021
@keith keith deleted the ks/add-support-for-cross-compiling-from-apple-silicon-to-intel branch April 20, 2021 18:35
@keith
Copy link
Member Author

keith commented Apr 20, 2021

Thanks!

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.

4 participants