-
Notifications
You must be signed in to change notification settings - Fork 258
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
Bazel platforms support #1658
Comments
We should author a "state of affairs" document for building Apple apps, covering macOS, iOS, and tvOS. Especially relevant to my use case are how multiarch binaries and libraries interact with platforms, and the sharp edges the remain when it comes to |
Oops. I have been trying to debug why my platform constraint variables weren't propagated. Turns out there was a |
In general platforms are supported at this point. You don't need a platform_mappings and with bazel 7.x + the new apple_support toolchain everything should work as expected. If you find otherwise please file an issue! |
This is fantastic - a major milestone! Quick question / suggestion wrt apple_support_toolchain/README.md. When it says
Does this still apply with Bazel 7? Additionally, when the instructions say to add
does that mean in general, users should pass |
Thanks for the comment, I submitted a PR to update the docs here bazelbuild/apple_support#290 That is no longer required for bazel 7+. The |
Amazing work as always, thanks! |
This is a tracking issue for supporting bazel's platforms for rules_apple. When relevant issues come up it would be useful to link them here for context.
The text was updated successfully, but these errors were encountered: