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

boring-sys: Handle cross-compiling macOS targets #84

Merged
merged 1 commit into from
Jul 28, 2023

Conversation

jrose-signal
Copy link
Contributor

@jrose-signal jrose-signal commented Aug 2, 2022

This fixes actual cross-compile cases, like compiling for Apple Silicon on an Intel Mac. It also makes builds more consistent by using the SDK in the installed Xcode instead of the host root headers, which is how Apple recommends people build anyway. (If you only have the command line tools installed, though, it should fall back to those without a problem.)

In our local branch we have this combined with #73 and #78, but this is pretty separable and probably the least controversial.

@jrose-signal jrose-signal changed the title boring-sys: Always treat macOS targets as a cross-compile, like iOS boring-sys: Handle cross-compiling macOS targets Oct 13, 2022
@inikulin
Copy link
Collaborator

@jrose-signal Thank you! Could you rebase please?

...such as compiling for Apple Silicon on an Intel Mac.
@inikulin inikulin merged commit 4761cf7 into cloudflare:master Jul 28, 2023
@jrose-signal jrose-signal deleted the macos-cross-compile branch April 12, 2024 00:17
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