Design review for Standard exec configurations #19213
Replies: 1 comment 1 reply
-
My biggest concern with this for Bazel users is how to handle external repositories. If my project Foo depends on rules_bar, and rules_bar defines a new flag Asking every project that uses rules_bar to set the flag in their custom exec transition is the same problem we had with the WORKSPACE file, and will end up with the same solution: rules_bar will publish a bzl file with an We should talk to the bzlmod team and see if there's a good solution there that we can use. |
Beta Was this translation helpful? Give feedback.
-
Hi all.
Standard exec configurations proposes experimenting with patterns for fewer, more clearly defined configurations.
Its immediate focus is to Starlarkize Bazel's exec transition (the configuration compilers and other tools are built in). This opens the door to:
--host_*
flags.Wider themes are:
I originally did a private review with @katre to use Google's repo as a guinea pig testing area. @katre already approved but I wanted to make this more widely visible and to solicit wider feedback.
This is also related to Platform-based flags.
Beta Was this translation helpful? Give feedback.
All reactions