Expand experimental_add_exec_constraints_to_targets
to support mnemonics
#23606
Labels
team-Configurability
platforms, toolchains, cquery, select(), config transitions
type: feature request
untriaged
Description of the feature request:
--experimental_add_exec_constraints_to_targets
is super useful for some things like "give all these targets this constraint", but for some custom rules it would also be useful to do this for entire mnemonics. For example if you have a custom rule that always does a heavy compilation action, adding a large remote exec machine constraint to all targets of that type can be useful. This can be done with exec_groups but sometimes it's desirable to do this only temporarily like if you want to run a set of tests against a machine with a GPU just once.Which category does this issue belong to?
No response
What underlying problem are you trying to solve with this feature?
No response
Which operating system are you running Bazel on?
No response
What is the output of
bazel info release
?No response
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD
?No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: