-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Prepare to make bazel-toolchains compatible with Incompatible Target Skipping #12336
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
Prepare to make bazel-toolchains compatible with Incompatible Target Skipping #12336
Conversation
|
@gregestren , this is the separate third-party PR. |
|
@katre , this is the separate third-party PR. |
|
The failure looks like something is flaky. It downloaded https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu14.28.21-ca-jdk14.0.1-win_x64.zip and got the wrong checksum. When I download that by hand, I get the correct checksum. |
katre
left a comment
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.
The WORKSPACE change needs to be in the main PR, and only the file under third_party/bazel_toolchains should be here. This is a limitation of our internal/external process and is fairly confusing, so I'm sorry I have to ask you to change this yet again.
This actually makes it much safer, although to simplify the main PR you could make three:
- Add the patch under third_party (that I merge manually)
- Use the patch in WORKSPACE (and we use the normal merge process)
- The rest of the incompatible target skipping changes (which I have internally and will review today).
|
Okay, sounds good. Let me get on that. Thanks @katre ! |
The upcoming Incompatible Target Skipping patch (bazelbuild#10945) introduces a new `target_compatible_with` attribute which clashes with one of the custom attributes in the bazel-toolchains repo. This patch fixes the clash so we can merge the Incompatible Target Skipping path. This is essentially a backport of bazelbuild/bazel-toolchains#913.
f81f6ac to
36f1539
Compare
katre
left a comment
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'll merge this shortly.
Thank you. I'll get a WORKSPACE-only PR ready. |
|
Merged as 4381dbf. |
This is a follow-up to bazelbuild#12336. It makes use of the .patch file to make the 3.1 version of bazel-toolchains compatible with Incompatible Target Skipping.
The upcoming Incompatible Target Skipping patch (#10945) introduces a
new
target_compatible_withattribute which clashes with one of thecustom attributes in the bazel-toolchains repo. This patch adds a .patch
file in
third_partyso that we can fix the clash in a followup patch.Once the clash is fixed we can merge the Incompatible Target
Skipping patch.
This is essentially a backport of bazelbuild/bazel-toolchains#913.