-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[CMake] [Darwin] Don't build the SDK overlays by default on Apple platforms #75918
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
[CMake] [Darwin] Don't build the SDK overlays by default on Apple platforms #75918
Conversation
ad6dbb9
to
e6b4b4d
Compare
This isn't enough to allow Swift to build against the current macOS 15.0 beta, but it's the upstream translation of what was done for rdar://115192929 and I think we'll need this all. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't mix the attempt to disable the Darwin
module with the lgamma_r
fix. The latter we could merge pretty much straight away as a separate PR on its own. There are some additional issues with the former.
e6b4b4d
to
ecf318f
Compare
Alright, trying again, stole a few changes from #75902 that it looks like I missed in the original change |
ecf318f
to
31cc144
Compare
It was easier to split the |
Looks like we're going to need #75914 before we can do this one. |
31cc144
to
dabd03b
Compare
dabd03b
to
caa0a3a
Compare
1163ac5
to
71686b6
Compare
This is stacked on top of #75914 and has to wait for that one (or whatever it gets split out to) before this can be rebased retested and merged. |
fbc82aa
to
cde5927
Compare
4cb5bdd
to
e75a97c
Compare
…tforms The Apple SDKs have been providing the Darwin overlay since macOS 10.14.4, iOS 12.2, et al. More recently the SDK version has diverged from the Swift version making them incompatible. Stop building the overlay from Swift. Once the SDK overlays aren't being built, the clang overlays need to be built in testing. %target-swift-emit-pcm doesn't use the sdk, but %target-swift-frontend does, which will cause them to have a mismatch with "builtin headers belong to system modules, and _Builtin_ modules are ignored for cstdlib headers" aka LANGOPT(BuiltinHeadersInSystemModules) aka -fbuiltin-headers-in-system-modules. rdar://115192929
e75a97c
to
8959dd9
Compare
@swift-ci smoke test |
The Apple SDKs have been providing the Darwin overlay since macOS 10.14.4, iOS 12.2, et al. More recently the SDK version has diverged from the Swift version making them incompatible. Stop building the overlay from Swift. Once the SDK overlays aren't being built, the clang overlays need to be built in testing.
rdar://115192929