-
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
Implement Optional Toolchains #14726
Labels
P1
I'll work on this now. (Assignee required)
team-Configurability
platforms, toolchains, cquery, select(), config transitions
type: feature request
Comments
katre
added
type: feature request
P1
I'll work on this now. (Assignee required)
team-Configurability
platforms, toolchains, cquery, select(), config transitions
labels
Feb 4, 2022
This was referenced Feb 7, 2022
katre
added a commit
to katre/bazel
that referenced
this issue
Feb 8, 2022
Also fix tests that access ExecGroup to use the correct Subject. Part of work on optional toolchains (bazelbuild#14726).
katre
added a commit
to katre/bazel
that referenced
this issue
Feb 9, 2022
Part of Optional Toolchains (bazelbuild#14726).
katre
added a commit
to katre/bazel
that referenced
this issue
Feb 10, 2022
Actually updating the logic to check mandatory/optional is still TODO. Part of bazelbuild#14726.
katre
added a commit
to katre/bazel
that referenced
this issue
Feb 14, 2022
Part of Optional Toolchains (bazelbuild#14726).
katre
added a commit
to katre/bazel
that referenced
this issue
Feb 14, 2022
Also add a convenience method to create a label converter for a starlark thread. This makes it more easily available for other uses. Part of Optional Toolchains (bazelbuild#14726).
katre
added a commit
to katre/bazel
that referenced
this issue
Feb 15, 2022
Part of Optional Toolchains (bazelbuild#14726).
katre
added a commit
to katre/bazel
that referenced
this issue
Feb 15, 2022
Part of Optional Toolchains (bazelbuild#14726).
katre
added a commit
to katre/bazel
that referenced
this issue
Feb 15, 2022
Part of Optional Toolchains (bazelbuild#14726).
katre
added a commit
to katre/bazel
that referenced
this issue
Feb 18, 2022
A future change will update rules. Part of Optional Toolchains (bazelbuild#14726).
katre
added a commit
to katre/bazel
that referenced
this issue
Mar 3, 2022
ToolchainTypeRequirement. Part of Optional Toolchains (bazelbuild#14726).
katre
added a commit
to katre/bazel
that referenced
this issue
Mar 3, 2022
ToolchainTypeRequirement. Part of Optional Toolchains (bazelbuild#14726).
katre
added a commit
to katre/bazel
that referenced
this issue
Mar 31, 2022
ToolchainTypeRequirement. Part of Optional Toolchains (bazelbuild#14726).
katre
added a commit
to katre/bazel
that referenced
this issue
Apr 5, 2022
Part of Optional Toolchains (bazelbuild#14726).
bazel-io
pushed a commit
that referenced
this issue
Apr 13, 2022
* Restructure `cc_test` to use a toolchain alias. This will allow `cc_test` to work in Bazel (and tests) without a "dummy" toolchain needing to be registered. This makes `cc_test` use the legacy flow when toolchains are not registered--requiring an additional flag if they are. This is a temporary measure to permit switching off `native.cc_test` before [Optional Toolchains](#14726) lands. * Add coverage-related tools (e.g. collect_cc_coverage.sh) necessary for Bazel to collect coverage from cc_test(s) PiperOrigin-RevId: 441494074
katre
added a commit
to katre/bazel
that referenced
this issue
Apr 19, 2022
Part of Optional Toolchains (bazelbuild#14726).
katre
added a commit
to katre/bazel
that referenced
this issue
Apr 19, 2022
Part of Optional Toolchains (bazelbuild#14726).
katre
added a commit
to katre/bazel
that referenced
this issue
Apr 25, 2022
This can no longer throw an exception, but needs to signal in the returned value. Part of Optional Toolchains (bazelbuild#14726).
katre
added a commit
to katre/bazel
that referenced
this issue
Apr 26, 2022
They should return Starlark.NONE instead. Part of Optional Toolchains (bazelbuild#14726).
katre
added a commit
to katre/bazel
that referenced
this issue
Apr 27, 2022
Part of Optional Toolchains (bazelbuild#14726).
bazel-io
pushed a commit
that referenced
this issue
May 3, 2022
Part of #14726 RELNOTES: Toolchain types may now be optional, in addition to mandatory. See https://bazel.build/docs/toolchains#optional-toolchains for further details. PiperOrigin-RevId: 446279106
This is now complete: followup work for the CC toolchain specifically will be tracked as #14727. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
P1
I'll work on this now. (Assignee required)
team-Configurability
platforms, toolchains, cquery, select(), config transitions
type: feature request
Now that https://github.com/bazelbuild/proposals/blob/main/designs/2022-01-21-optional-toolchains.md is approved, this is the tracking issue for the core implemenation.
Updating rules to use the new feature will be tracked by separate issues.
The text was updated successfully, but these errors were encountered: