-
Notifications
You must be signed in to change notification settings - Fork 75
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
Add Apple visionos. #71
Conversation
I'm not really satisified with this PR. The number of Apple specific platforms has grown to the point where we may want to refactor them. The question I would focus on is how various toolchain matches and select clauses go. Do we see things like: ``` foo = select({ ".../os:linux": A, ".../os:windows": B, ".../os:macos": C, ".../os:watchos": C, ".../os:visionos": C, }) ``` Where C is the same for all the apple platforms? Or, do we see real distinctions across the various per-device OSes. Or a mix of both? And, do we see the fanout of the Apple OSes done with a select_or wrapper, so users end up seeing the simple selection of just apple, linux, or windows, but we buried complexity elsewhere?
I think in general we see both "all apple" selects and specific OS version selects. In apple_support we provide a config_setting for "all apple" here. |
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 just submitted bazelbuild/bazel#18905 which is also required for this new support, it would be nice if this one could land as well
@aiuto friendly ping |
Thanks @meteorcloudy @katre! |
Thanks folks, could you also push a |
I'll get to that today. Have to run a short errand. |
I'm not really satisified with this PR. The number of Apple specific platforms has grown to the point where we may want to refactor them. The question I would focus on is how various toolchain matches and select clauses go.
Do we see things like:
Where C is the same for all the apple platforms?
Or, do we see real distinctions across the various per-device OSes. Or a mix of both? And, do we see the fanout of the Apple OSes done with a select_or wrapper, so users end up seeing the simple selection of just apple, linux, or windows, but we buried complexity elsewhere?