-
Notifications
You must be signed in to change notification settings - Fork 4k
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 the toolchain transition #10523
Comments
What's the target release for toolchain transition and While I agree it's better to use Just a little more background: https://docs.bazel.build/versions/master/skylark/lib/CcToolchainInfo.html#dynamic_runtime_lib is currently broken because the symlink is located at |
Are you using the I am working on a migration plan for the toolchain transition and hope to send it around shortly. Once that's been agreed on I'll begin implementation and start working with rule owners to migrate, since doing this as a single world-breaking migration isn't feasible. Because CC rules don't use toolchain resolution by default, getting that working may be far down the list. |
DependencyResolver. Work towards toolchain transition, bazelbuild#10523. GOOGLE: RELNOTES: None.
DependencyResolver. Work towards toolchain transition, #10523. PiperOrigin-RevId: 293187791
Just ran into what I thought was #6889. Glad to see I wasn't going crazy when querying My use case is that I need to configure Once toolchain transitions are in, would this use case be supported? |
That is internal to the You'll need to follow up with the CC rule maintainers to find out if that's a use case they want to support. if so, I can work with them on ways to implement it in their toolchain implementation. |
Cleanup leading to toolchain transitions, bazelbuild#10523.
Cleanup leading to toolchain transitions, bazelbuild#10523.
Cleanup leading to toolchain transitions, bazelbuild#10523.
Cleanup leading to toolchain transitions, bazelbuild#10523.
Cleanup leading to toolchain transitions, bazelbuild#10523.
Cleanup leading to toolchain transitions, bazelbuild#10523.
it behaves entirely different, this allows removing a lot of unneeded code. Part of cleanup leading to toolchain transitions, bazelbuild#10523.
Cleanup leading to toolchain transitions, bazelbuild#10523.
Cleanup leading to toolchain transitions, bazelbuild#10523.
Part of work on toolchain transitions, #10523. PiperOrigin-RevId: 314925260
This version runs both the new and legacy configuration resolution, and crashes the build if they diverge. DO NOT SUBMIT. Part of work on toolchain transitions, bazelbuild#10523.
Part of work on toolchain transitions, bazelbuild#10523.
TODOs mark where this will be set and used. Part of work on toolchain transitions, bazelbuild#10523.
toolchains to prevent dependency loops. Part of work on toolchain transitions, bazelbuild#10523.
toolchains to prevent dependency loops. Part of work on toolchain transitions, bazelbuild#10523.
Part of work on toolchain transitions, bazelbuild#10523.
Part of work on toolchain transitions, bazelbuild#10523.
TODOs mark where this will be set and used. Part of work on toolchain transitions, bazelbuild#10523.
TODOs mark where this will be set and used. Part of work on toolchain transitions, bazelbuild#10523.
transition if appropriate. Adds a test for the new toolchain transition functionality. Adds the --incompatible_use_toolchain_transition flag to force all rules to depend on toolchains via the toolchain transition. Adds the incompatible_use_toolchain_transition rule attribute to force a specific rule to depend on toolchains via the toolchain transition. RELNOTES: Rule authors should use the incompatible_use_toolchain_transition rule attribute to migrate to using the toolchain transition. jcater to udpate notes further. Closes bazelbuild#10523.
Wohooo \o/ Congrats! :) |
Re-opening, we also need to support aspects that use toolchains. |
This will allow Aspects to use the toolchain transition. Part of work on toolchain transition, #10523. PiperOrigin-RevId: 316751670
…ition migration. Part of work on toolchain transitions, #10523. PiperOrigin-RevId: 316752326
Now I can close again. |
Tracking issue for the implementation of toolchain transitions.
The text was updated successfully, but these errors were encountered: