Skip to content

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.
@jrose-signal jrose-signal force-pushed the macos-cross-compile branch from 081b0c1 to a39f0c7 Compare July 27, 2023 20:32
@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