Skip to content

Commit 9ee5599

Browse files
authored
Add 'module_mirrors' flag for CloudFlare downloads
Added a new flag 'module_mirrors' to improve download reliability.
1 parent fd52708 commit 9ee5599

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

flags.bzl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,14 @@ FLAGS = {
218218
This flag was flipped for Bazel 8.
219219
""",
220220
),
221+
"module_mirrors": struct(
222+
default = "bcr.cloudflaremirrors.com",
223+
if_bazel_version = ge("8.4.0"),
224+
description = """\
225+
Add the CloudFlare mirror of BCR-referenced downloads.
226+
Improves reliability of Bazel when CDNs are flaky, for example issues with ftp.gnu.org in 2025.
227+
""",
228+
),
221229
"remote_download_outputs": struct(
222230
command = "common:ci",
223231
if_bazel_version = ge("7.0.0rc1"),

0 commit comments

Comments
 (0)