boring-sys: Don't use CMake cross-compilation for macOS->iOS#187
boring-sys: Don't use CMake cross-compilation for macOS->iOS#187nox merged 1 commit intocloudflare:masterfrom
Conversation
|
Thanks for the PR. Could you explain what it fixes? Maybe show an example of a broken build with the current code? |
|
You can see one example in this log after fixing the CI to test cross-compilation more thoroughly (#188). In this case the assembly sources end up getting built for iOS devices rather than iOS simulators, presumably because CMake assumes you'll set all of the relevant cross-compilation properties if you're going to use any of them. But for toolchains that natively support multiple targets, this just makes things worse. (Honestly, I don't think this sort of policy should be happening here at all; it should be in the |
|
Citation from the CMake docs themselves:
|
|
Sorry I had other yaks to shave these last few days but I'll review these tomorrow and so far I don't see a reason not to merge those changes. |
|
No worries, that was less a "hey, pay attention to me" and more "I found a citation to support this, let me put in the PR for posterity"! |
|
I fixed the failing clippy lint in a separate PR so you can just rebase yours for CI to go green. |
(or macOS->macOS)
97f1a72 to
51a6d44
Compare
(or macOS->macOS)
Fixes the iOS build.