Created
August 20, 2019 08:16
-
-
Save tsuchm/8d54fdabb2ba760da91fa67ca5842a2d to your computer and use it in GitHub Desktop.
Patch to build TensorFlow 1.12 for Python3.7 on Debian10. For more detail, see https://qiita.com/tsuchm/items/60e071c7e77428f5d335
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl | |
index aaea475c04..a860e8a107 100755 | |
--- a/tensorflow/workspace.bzl | |
+++ b/tensorflow/workspace.bzl | |
@@ -381,11 +381,11 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""): | |
) | |
PROTOBUF_URLS = [ | |
- "https://mirror.bazel.build/github.com/google/protobuf/archive/v3.6.0.tar.gz", | |
- "https://github.com/google/protobuf/archive/v3.6.0.tar.gz", | |
+ "http://deb.debian.org/debian/pool/main/p/protobuf/protobuf_3.6.1.3.orig.tar.gz", | |
+ "http://deb.debian.org/debian/pool/main/p/protobuf/protobuf_3.6.1.3.orig.tar.gz", | |
] | |
- PROTOBUF_SHA256 = "50a5753995b3142627ac55cfd496cebc418a2e575ca0236e29033c67bd5665f4" | |
- PROTOBUF_STRIP_PREFIX = "protobuf-3.6.0" | |
+ PROTOBUF_SHA256 = "73fdad358857e120fd0fa19e071a96e15c0f23bb25f85d3f7009abfd4f264a2a" | |
+ PROTOBUF_STRIP_PREFIX = "protobuf-3.6.1.3" | |
tf_http_archive( | |
name = "protobuf_archive", | |
diff --git a/third_party/icu/workspace.bzl b/third_party/icu/workspace.bzl | |
index bfebf4219b..732a679108 100644 | |
--- a/third_party/icu/workspace.bzl | |
+++ b/third_party/icu/workspace.bzl | |
@@ -5,11 +5,11 @@ load("//third_party:repo.bzl", "third_party_http_archive") | |
def repo(): | |
third_party_http_archive( | |
name = "icu", | |
- strip_prefix = "icu-release-62-1", | |
- sha256 = "e15ffd84606323cbad5515bf9ecdf8061cc3bf80fb883b9e6aa162e485aa9761", | |
+ strip_prefix = "icu-release-63-1", | |
+ sha256 = "9a3be16d772be2817854ef4dcb45fb7fea669ca7ca592e039264239c1acd415f", | |
urls = [ | |
- "https://mirror.bazel.build/github.com/unicode-org/icu/archive/release-62-1.tar.gz", | |
- "https://github.com/unicode-org/icu/archive/release-62-1.tar.gz", | |
+ "https://mirror.bazel.build/github.com/unicode-org/icu/archive/release-63-1.tar.gz", | |
+ "https://github.com/unicode-org/icu/archive/release-63-1.tar.gz", | |
], | |
build_file = "//third_party/icu:BUILD.bazel", | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment