Skip to content

Commit df1ffd9

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

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-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: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From 0aec8ee70332e4d53afae52cac28388295e95cc2 Mon Sep 17 00:00:00 2001
2+
From: Tongxuan Liu <[email protected]>
3+
Date: Tue, 25 Apr 2023 12:12:08 +0800
4+
Subject: [PATCH] Update zlib url.
5+
6+
---
7+
WORKSPACE | 2 +-
8+
1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+
diff --git a/WORKSPACE b/WORKSPACE
11+
index cb9eee5..1b03da7 100644
12+
--- a/WORKSPACE
13+
+++ b/WORKSPACE
14+
@@ -11,7 +11,7 @@ http_archive(
15+
build_file = "//:third_party/zlib.BUILD",
16+
sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
17+
strip_prefix = "zlib-1.2.11",
18+
- urls = ["https://zlib.net/zlib-1.2.11.tar.gz"],
19+
+ urls = ["https://mirror.bazel.build/zlib.net/zlib-1.2.11.tar.gz"],
20+
)
21+
22+
http_archive(
23+
--
24+
2.37.1
25+

0 commit comments

Comments
 (0)