Skip to content

Commit f5d4167

Browse files
committed
[BUILD] Update zlib url in rules_closure.
Signed-off-by: Tongxuan Liu <[email protected]>
1 parent fbcf834 commit f5d4167

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

WORKSPACE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ http_archive(
66
name = "io_bazel_rules_closure",
77
sha256 = "5b00383d08dd71f28503736db0500b6fb4dda47489ff5fc6bed42557c07c6ba9",
88
strip_prefix = "rules_closure-308b05b2419edb5c8ee0471b67a40403df940149",
9+
patch_args = ["-p1"],
10+
patches = ["//third_party:io_bazel_rules_closure.patch"],
911
urls = [
1012
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz",
1113
"https://github.com/bazelbuild/rules_closure/archive/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz", # 2019-06-13
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
From 18efd193ad8e10e2ea95bcf1754459fe34f6e96a Mon Sep 17 00:00:00 2001
2+
From: Tongxuan Liu <[email protected]>
3+
Date: Thu, 27 Apr 2023 16:10:04 +0800
4+
Subject: [PATCH] update zlib urls.
5+
6+
---
7+
WORKSPACE | 2 +-
8+
closure/repositories.bzl | 2 +-
9+
2 files changed, 2 insertions(+), 2 deletions(-)
10+
11+
diff --git a/WORKSPACE b/WORKSPACE
12+
index cb9eee5..1b03da7 100644
13+
--- a/WORKSPACE
14+
+++ b/WORKSPACE
15+
@@ -11,7 +11,7 @@ http_archive(
16+
build_file = "//:third_party/zlib.BUILD",
17+
sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
18+
strip_prefix = "zlib-1.2.11",
19+
- urls = ["https://zlib.net/zlib-1.2.11.tar.gz"],
20+
+ urls = ["https://mirror.bazel.build/zlib.net/zlib-1.2.11.tar.gz"],
21+
)
22+
23+
http_archive(
24+
diff --git a/closure/repositories.bzl b/closure/repositories.bzl
25+
index f21ff2b..dee10ba 100644
26+
--- a/closure/repositories.bzl
27+
+++ b/closure/repositories.bzl
28+
@@ -1005,5 +1005,5 @@ def zlib():
29+
build_file = "@io_bazel_rules_closure//:third_party/zlib.BUILD",
30+
sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
31+
strip_prefix = "zlib-1.2.11",
32+
- urls = ["https://zlib.net/zlib-1.2.11.tar.gz"],
33+
+ urls = ["https://mirror.bazel.build/zlib.net/zlib-1.2.11.tar.gz"],
34+
)
35+
--
36+
2.37.1
37+

0 commit comments

Comments
 (0)