Skip to content

Commit 85cbfe1

Browse files
authored
Use bzl mirror over pkgconfig.freedesktop.org (#1445)
The pkgconfig.freedesktop.org mirror is listed above the bazel mirror of same for pkg-config, but pkgconfig.freedesktop.org is not very reliable. A few months ago it was down for a week and, lately, it is timing out frequently. Even it does work it is 20-50 _times_ slower than the bazel mirror (measured locally, 25s vs < 1s for mirror). Flip the order which is already the case for many other deps.
1 parent 146b208 commit 85cbfe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolchains/built_toolchains.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,8 @@ cc_import(
358358
Label("//toolchains/patches:pkgconfig-builtin-glib-int-conversion.patch"),
359359
],
360360
urls = [
361-
"https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz",
362361
"https://mirror.bazel.build/pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz",
362+
"https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz",
363363
],
364364
)
365365
return

0 commit comments

Comments
 (0)