Skip to content

Update the open source filegroup rule to disable toolchain resolution. #13194

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

Closed
wants to merge 1 commit into from

Conversation

katre
Copy link
Member

@katre katre commented Mar 10, 2021

The internal version of this rule has toolchain resolution disabled, and
this has been widely documented, so it is easiest to update the external
version of the rule to match.

The internal version of this rule has toolchain resolution disabled, and
this has been widely documented, so it is easiest to update the external
version of the rule to match.
@bazel-io bazel-io closed this in dce861d Mar 10, 2021
@katre katre deleted the fix-filegroup branch March 10, 2021 17:30
@philsc
Copy link
Contributor

philsc commented Mar 13, 2021

@katre , as far as I can tell this patch undoes your work from here: #12899

I.e. toolchain resolution allowed select() statements to use constraints.

@katre
Copy link
Member Author

katre commented Mar 15, 2021

@philsc Argh, you're right. Okay, I need a better solution to this.

katre added a commit to katre/bazel that referenced this pull request Mar 15, 2021
This reverts dce861d, which was a
mistake.

It also removes a test which is now useless. There are no more build
rules (which have the target_compatible_with attribute for target
skipping) which also have toolchain resolution disabled, so this cannot
be tested for.

Fixes bazelbuild#12899 and undoes bazelbuild#13194.
bazel-io pushed a commit that referenced this pull request Mar 16, 2021
This reverts dce861d, which was a
mistake.

It also removes a test which is now useless. There are no more build
rules (which have the target_compatible_with attribute for target
skipping) which also have toolchain resolution disabled, so this cannot
be tested for.

Fixes #12899 and undoes #13194.

Closes #13223.

PiperOrigin-RevId: 363200655
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants