-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 --skip_incompatible_explicit_targets
option
#17404
Add --skip_incompatible_explicit_targets
option
#17404
Conversation
Heads up: I ported this patch from bazel 4.2 so I'm still working on fixing the compile errors. |
6915638
to
d62de1f
Compare
Okay, as far as I can tell these test failures aren't related to my changes so this is ready for review. Any feedback is welcome! |
Continued the conversation on the issue. |
src/main/java/com/google/devtools/build/lib/buildtool/BuildRequestOptions.java
Outdated
Show resolved
Hide resolved
Hi @marczych-zoox, Could you please resolve the code conflicts and review comments. Thanks! |
This adds an argument to skip incompatible targets even if they were explicitly requested on the command line. This is useful for CI to allow it to build changed targets from rdeps queries without needing to filter them all through a cquery to check if they are compatible. Closes bazelbuild#17403 RELNOTES: Add `--skip_incompatible_explicit_targets` option
d62de1f
to
a1ea798
Compare
I pushed a fix for the inline comment as well as the one from the ticket to move it to Let me know if there is anything else that needs to be done! |
This adds an argument to skip incompatible targets even if they were explicitly requested on the command line. This is useful for CI to allow it to build changed targets from rdeps queries without needing to filter them all through a cquery to check if they are compatible. Closes bazelbuild#17403 RELNOTES: Add `--skip_incompatible_explicit_targets` option Closes bazelbuild#17404. PiperOrigin-RevId: 519636134 Change-Id: I16d6a4896cf920f42364cba162001b1bb7658e65
This adds an argument to skip incompatible targets even if they were explicitly requested on the command line. This is useful for CI to allow it to build changed targets from rdeps queries without needing to filter them all through a cquery to check if they are compatible.
Closes #17403
RELNOTES: Add
--skip_incompatible_explicit_targets
option