File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,21 @@ TOOLCHAINS_NAMES = [
1010
1111# this is the list of toolchains that should be used and are registered with nodejs_register_toolchains in the WORKSPACE file
1212TOOLCHAINS_VERSIONS = [
13- "@node20_toolchains//:resolved_toolchain" ,
14- "@node22_toolchains//:resolved_toolchain" ,
15- "@node24_toolchains//:resolved_toolchain" ,
13+ select ({
14+ "@bazel_tools//src/conditions:linux_x86_64" : "@node20_linux_amd64//:node_toolchain" ,
15+ "@bazel_tools//src/conditions:darwin" : "@node20_darwin_amd64//:node_toolchain" ,
16+ "@bazel_tools//src/conditions:windows" : "@node20_windows_amd64//:node_toolchain" ,
17+ }),
18+ select ({
19+ "@bazel_tools//src/conditions:linux_x86_64" : "@node22_linux_amd64//:node_toolchain" ,
20+ "@bazel_tools//src/conditions:darwin" : "@node22_darwin_amd64//:node_toolchain" ,
21+ "@bazel_tools//src/conditions:windows" : "@node22_windows_amd64//:node_toolchain" ,
22+ }),
23+ select ({
24+ "@bazel_tools//src/conditions:linux_x86_64" : "@node24_linux_amd64//:node_toolchain" ,
25+ "@bazel_tools//src/conditions:darwin" : "@node24_darwin_amd64//:node_toolchain" ,
26+ "@bazel_tools//src/conditions:windows" : "@node24_windows_amd64//:node_toolchain" ,
27+ }),
1628]
1729
1830# A default toolchain for use when only one is necessary
You can’t perform that action at this time.
0 commit comments