ソースを参照

bazel: Change zlib URL to GitHub

We've notice significant issues downloading from zlib.net. Since there
are already other archives coming from GitHub, this shouldn't negatively
affect reliability.
Keith Smiley 6 年 前
コミット
516f8b1560
1 ファイル変更2 行追加2 行削除
  1. 2 2
      protobuf_deps.bzl

+ 2 - 2
protobuf_deps.bzl

@@ -17,9 +17,9 @@ def protobuf_deps():
         http_archive(
         http_archive(
             name = "zlib",
             name = "zlib",
             build_file = "@com_google_protobuf//:third_party/zlib.BUILD",
             build_file = "@com_google_protobuf//:third_party/zlib.BUILD",
-            sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
+            sha256 = "629380c90a77b964d896ed37163f5c3a34f6e6d897311f1df2a7016355c45eff",
             strip_prefix = "zlib-1.2.11",
             strip_prefix = "zlib-1.2.11",
-            urls = ["https://zlib.net/zlib-1.2.11.tar.gz"],
+            urls = ["https://github.com/madler/zlib/archive/v1.2.11.tar.gz"],
         )
         )
 
 
     if not native.existing_rule("six"):
     if not native.existing_rule("six"):