You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/com/google/devtools/build/lib/skyframe/toolchains/README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,18 @@
2
2
3
3
Several SkyFunction classes implement the [toolchain resolution] process:
4
4
5
+
1. The process is run for each distinct execution group the rule or aspect
6
+
uses. In the case of [automatic execution groups](https://bazel.build/extending/auto-exec-groups),
7
+
this will be one execution group per declared toolchain.
8
+
5
9
1.[`RegisteredToolchainsFunction`] and
6
10
[`RegisteredExecutionPlatformsFunction`] find available toolchains and
7
11
execution platforms, based on the current configuration and WORKSPACE file.
8
12
13
+
1. These lists will be filtered based on the [`platform.required_settings`](https://bazel.build/reference/be/platforms-and-toolchains#platform.required_settings)
14
+
and [`toolchain.target_settings`](https://bazel.build/reference/be/platforms-and-toolchains#toolchain.target_settings)
15
+
attributes.
16
+
9
17
1.[`SingleToolchainResolutionFunction`] resolves a single toolchain type for
10
18
every execution platform. That is, for every execution platform it finds the
11
19
best registered toolchain to use based on the following criteria:
0 commit comments