Skip to content

Commit

Permalink
Patch Github sh256 checksum changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jetsonhacks committed Sep 14, 2017
1 parent 8f2357f commit 660ecb5
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 20 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# installTensorFlowTX2
September 11, 2017
September 13, 2017
JetsonHacks

Install TensorFlow v1.3 on NVIDIA Jetson TX2 Development Kit
Expand Down Expand Up @@ -74,6 +74,11 @@ This TensorFlow installation procedure was derived from these discussion threads
</ul>

### Release Notes
September 13, 2017
* L4T 28.1 (JetPack 3.1)
* TensorFlow 1.3
* Github changed some sha256 checksums, patches added to workspace.bzl as workaround

September 2017
* L4T 28.1 (JetPack 3.1)
* TensorFlow 1.3
Expand Down
20 changes: 1 addition & 19 deletions patches/tensorflow.patch
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,4 @@ index b2da109..8ee1f3a 100644
LOG(INFO) << "OS X does not support NUMA - returning NUMA node zero";
return 0;N
#elif defined(PLATFORM_WINDOWS)
diff --git aa/tensorflow/workspace.bzl b/tensorflow/workspace.bzl
index 2a206b0..d785473 100644
--- a/tensorflow/workspace.bzl
+++ b/tensorflow/workspace.bzl
@@ -150,11 +150,11 @@ def tf_workspace(path_prefix="", tf_repo_name=""):
native.new_http_archive(
name = "eigen_archive",
urls = [
- "http://mirror.bazel.build/bitbucket.org/eigen/eigen/get/f3a22f35b044.tar.gz",
- "https://bitbucket.org/eigen/eigen/get/f3a22f35b044.tar.gz",
+ "http://mirror.bazel.build/bitbucket.org/eigen/eigen/get/d781c1de9834.tar.gz",
+ "https://bitbucket.org/eigen/eigen/get/d781c1de9834.tar.gz",
],
- sha256 = "ca7beac153d4059c02c8fc59816c82d54ea47fe58365e8aded4082ded0b820c4",
- strip_prefix = "eigen-eigen-f3a22f35b044",
+ sha256 = "a34b208da6ec18fa8da963369e166e4a368612c14d956dd2f9d7072904675d9b",
+ strip_prefix = "eigen-eigen-d781c1de9834",
build_file = str(Label("//third_party:eigen.BUILD")),
)

47 changes: 47 additions & 0 deletions patches/workspacebzl.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl
index 42840a2..d6c8086 100644
--- a/tensorflow/workspace.bzl
+++ b/tensorflow/workspace.bzl
@@ -147,11 +147,11 @@ def tf_workspace(path_prefix="", tf_repo_name=""):
native.new_http_archive(
name = "eigen_archive",
urls = [
- "http://mirror.bazel.build/bitbucket.org/eigen/eigen/get/f3a22f35b044.tar.gz",
- "https://bitbucket.org/eigen/eigen/get/f3a22f35b044.tar.gz",
+ "http://mirror.bazel.build/bitbucket.org/eigen/eigen/get/d781c1de9834.tar.gz",
+ "https://bitbucket.org/eigen/eigen/get/d781c1de9834.tar.gz",
],
- sha256 = "ca7beac153d4059c02c8fc59816c82d54ea47fe58365e8aded4082ded0b820c4",
- strip_prefix = "eigen-eigen-f3a22f35b044",
+ sha256 = "a34b208da6ec18fa8da963369e166e4a368612c14d956dd2f9d7072904675d9b",
+ strip_prefix = "eigen-eigen-d781c1de9834",
build_file = str(Label("//third_party:eigen.BUILD")),
)

@@ -330,7 +330,7 @@ def tf_workspace(path_prefix="", tf_repo_name=""):
"https://github.com/google/protobuf/archive/0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66.tar.gz",
"http://mirror.bazel.build/github.com/google/protobuf/archive/0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66.tar.gz",
],
- sha256 = "6d43b9d223ce09e5d4ce8b0060cb8a7513577a35a64c7e3dad10f0703bf3ad93",
+ # sha256 = "6d43b9d223ce09e5d4ce8b0060cb8a7513577a35a64c7e3dad10f0703bf3ad93",
strip_prefix = "protobuf-0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66",
# TODO: remove patching when tensorflow stops linking same protos into
# multiple shared libraries loaded in runtime by python.
@@ -348,7 +348,7 @@ def tf_workspace(path_prefix="", tf_repo_name=""):
"https://github.com/google/protobuf/archive/0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66.tar.gz",
"http://mirror.bazel.build/github.com/google/protobuf/archive/0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66.tar.gz",
],
- sha256 = "6d43b9d223ce09e5d4ce8b0060cb8a7513577a35a64c7e3dad10f0703bf3ad93",
+ # sha256 = "6d43b9d223ce09e5d4ce8b0060cb8a7513577a35a64c7e3dad10f0703bf3ad93",
strip_prefix = "protobuf-0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66",
)

@@ -358,7 +358,7 @@ def tf_workspace(path_prefix="", tf_repo_name=""):
"https://github.com/google/protobuf/archive/0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66.tar.gz",
"http://mirror.bazel.build/github.com/google/protobuf/archive/0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66.tar.gz",
],
- sha256 = "6d43b9d223ce09e5d4ce8b0060cb8a7513577a35a64c7e3dad10f0703bf3ad93",
+ # sha256 = "6d43b9d223ce09e5d4ce8b0060cb8a7513577a35a64c7e3dad10f0703bf3ad93",
strip_prefix = "protobuf-0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66",
)

0 comments on commit 660ecb5

Please sign in to comment.