Skip to content

Commit dd9298b

Browse files
committed
[bazel] Update the mpfr URL to a stable one
mpfr has released a new version, and now the old tar.gz URL does not work anymore. Update the URL to a stable one.
1 parent 758be97 commit dd9298b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

utils/bazel/WORKSPACE

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,16 @@ maybe(
102102
)
103103

104104
# https://www.mpfr.org/mpfr-current/
105+
#
106+
# When updating to a newer version, don't use URLs with "mpfr-current" in them.
107+
# Instead, find a stable URL like the one used currently.
105108
maybe(
106109
http_archive,
107110
name = "mpfr",
108111
build_file = "@llvm-raw//utils/bazel/third_party_build:mpfr.BUILD",
109112
sha256 = "9cbed5d0af0d9ed5e9f8dd013e17838eb15e1db9a6ae0d371d55d35f93a782a7",
110113
strip_prefix = "mpfr-4.1.1",
111-
urls = ["https://www.mpfr.org/mpfr-current/mpfr-4.1.1.tar.gz"],
114+
urls = ["https://www.mpfr.org/mpfr-4.1.1/mpfr-4.1.1.tar.gz"],
112115
)
113116

114117
maybe(

0 commit comments

Comments
 (0)