-
Notifications
You must be signed in to change notification settings - Fork 3k
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
more macOS stuff #12705
more macOS stuff #12705
Conversation
2de5198
to
6e87791
Compare
6e87791
to
294f9db
Compare
Download the artifacts for this pull request: |
294f9db
to
4f2a9c6
Compare
Since #12709 rewrites it all anyway, I dropped the semaphore commit so this is just build changes. @Akemi: what do you think? I didn't remove anything like the |
Probably could be even more cleaned up as we support >= 10.15 now apparently. |
Yeah I can drop the 10.14 define too. |
These have been build options since the waf build, but that doesn't really make sense. The build can detect whatever macOS sdk version is available and then use that information to determine whether to enable the features or not. Potentially disabling multiple sdk versions doesn't really make any sense. Because f5ca11e effectively made macOS 10.15 the minimum supported version, we can drop all of these checks and bump the required sdk version to 10.15. The rest of the build simplifies from there.
9e6d025
to
1020411
Compare
we stopped supporting macOS older than 10.15 and hence can remove all the unnecessary runtime checks and compatibility layers.
those i pushed some more cleanups, though it might not be everything. i am not sure if you want to keep those commits separate or squash them, since they are related but still a bit different. [edit] |
First one is build changes. Second one is using
clock_gettime
in the semaphore wrapper. Someone please actually test them.