File tree Expand file tree Collapse file tree 2 files changed +6
-18
lines changed Expand file tree Collapse file tree 2 files changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -524,11 +524,11 @@ def tf_workspace(path_prefix="", tf_repo_name=""):
524
524
tf_http_archive (
525
525
name = "zlib_archive" ,
526
526
urls = [
527
- "https://mirror.bazel.build/zlib.net/zlib-1.2.8 .tar.gz" ,
528
- "http ://zlib.net/fossils/ zlib-1.2.8 .tar.gz" ,
527
+ "https://mirror.bazel.build/zlib.net/zlib-1.2.11 .tar.gz" ,
528
+ "https ://zlib.net/zlib-1.2.11 .tar.gz" ,
529
529
],
530
- sha256 = "36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d " ,
531
- strip_prefix = "zlib-1.2.8 " ,
530
+ sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1 " ,
531
+ strip_prefix = "zlib-1.2.11 " ,
532
532
build_file = str (Label ("//third_party:zlib.BUILD" )),
533
533
)
534
534
Original file line number Diff line number Diff line change @@ -2,18 +2,6 @@ package(default_visibility = ["//visibility:public"])
2
2
3
3
licenses(["notice"]) # BSD/MIT-like license (for zlib)
4
4
5
- config_setting(
6
- name = "windows",
7
- values = {"cpu": "x64_windows"},
8
- visibility = ["//visibility:public"],
9
- )
10
-
11
- config_setting(
12
- name = "windows_msvc",
13
- values = {"cpu": "x64_windows_msvc"},
14
- visibility = ["//visibility:public"],
15
- )
16
-
17
5
cc_library(
18
6
name = "zlib",
19
7
srcs = [
@@ -45,8 +33,8 @@ cc_library(
45
33
],
46
34
hdrs = ["zlib.h"],
47
35
copts = select({
48
- ":windows": [],
49
- ":windows_msvc": [],
36
+ "@org_tensorflow//tensorflow :windows": [],
37
+ "@org_tensorflow//tensorflow :windows_msvc": [],
50
38
"//conditions:default": [
51
39
"-Wno-shift-negative-value",
52
40
"-DZ_HAVE_UNISTD_H",
You can’t perform that action at this time.
0 commit comments