Skip to content

Commit b66074c

Browse files
authored
Add incompatible_use_toolchain_transition = True as per bazelbuild/bazel#11584 (#617)
1 parent c734ca8 commit b66074c

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

foreign_cc/boost_build.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,7 @@ boost_build = rule(
5454
"@rules_foreign_cc//foreign_cc/private/shell_toolchain/toolchains:shell_commands",
5555
"@bazel_tools//tools/cpp:toolchain_type",
5656
],
57+
# TODO: Remove once https://github.com/bazelbuild/bazel/issues/11584 is closed and the min supported
58+
# version is updated to a release of Bazel containing the new default for this setting.
59+
incompatible_use_toolchain_transition = True,
5760
)

foreign_cc/cmake.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,4 +282,7 @@ cmake = rule(
282282
"@rules_foreign_cc//foreign_cc/private/shell_toolchain/toolchains:shell_commands",
283283
"@bazel_tools//tools/cpp:toolchain_type",
284284
],
285+
# TODO: Remove once https://github.com/bazelbuild/bazel/issues/11584 is closed and the min supported
286+
# version is updated to a release of Bazel containing the new default for this setting.
287+
incompatible_use_toolchain_transition = True,
285288
)

foreign_cc/configure.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,4 +214,7 @@ configure_make = rule(
214214
"@rules_foreign_cc//foreign_cc/private/shell_toolchain/toolchains:shell_commands",
215215
"@bazel_tools//tools/cpp:toolchain_type",
216216
],
217+
# TODO: Remove once https://github.com/bazelbuild/bazel/issues/11584 is closed and the min supported
218+
# version is updated to a release of Bazel containing the new default for this setting.
219+
incompatible_use_toolchain_transition = True,
217220
)

foreign_cc/make.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,7 @@ make = rule(
9999
"@rules_foreign_cc//foreign_cc/private/shell_toolchain/toolchains:shell_commands",
100100
"@bazel_tools//tools/cpp:toolchain_type",
101101
],
102+
# TODO: Remove once https://github.com/bazelbuild/bazel/issues/11584 is closed and the min supported
103+
# version is updated to a release of Bazel containing the new default for this setting.
104+
incompatible_use_toolchain_transition = True,
102105
)

foreign_cc/ninja.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,7 @@ ninja = rule(
116116
"@rules_foreign_cc//foreign_cc/private/shell_toolchain/toolchains:shell_commands",
117117
"@bazel_tools//tools/cpp:toolchain_type",
118118
],
119+
# TODO: Remove once https://github.com/bazelbuild/bazel/issues/11584 is closed and the min supported
120+
# version is updated to a release of Bazel containing the new default for this setting.
121+
incompatible_use_toolchain_transition = True,
119122
)

0 commit comments

Comments
 (0)