Upgrade to protobuf 3.3.1
This commit is contained in:
parent
20f0ab8de0
commit
147dc8dc7e
@ -306,11 +306,11 @@ def tf_workspace(path_prefix="", tf_repo_name=""):
|
||||
patched_http_archive(
|
||||
name = "protobuf",
|
||||
urls = [
|
||||
"http://mirror.bazel.build/github.com/google/protobuf/archive/2b7430d96aeff2bb624c8d52182ff5e4b9f7f18a.tar.gz",
|
||||
"https://github.com/google/protobuf/archive/2b7430d96aeff2bb624c8d52182ff5e4b9f7f18a.tar.gz",
|
||||
"http://mirror.bazel.build/github.com/google/protobuf/archive/v3.3.1.tar.gz",
|
||||
"https://github.com/google/protobuf/archive/v3.3.1.tar.gz",
|
||||
],
|
||||
sha256 = "e5d3d4e227a0f7afb8745df049bbd4d55474b158ca5aaa2a0e31099af24be1d0",
|
||||
strip_prefix = "protobuf-2b7430d96aeff2bb624c8d52182ff5e4b9f7f18a",
|
||||
sha256 = "30f23a45c6f4515598702a6d19c4295ba92c4a635d7ad8d331a4db9fccff392d",
|
||||
strip_prefix = "protobuf-3.3.1",
|
||||
# TODO: remove patching when tensorflow stops linking same protos into
|
||||
# multiple shared libraries loaded in runtime by python.
|
||||
# This patch fixes a runtime crash when tensorflow is compiled
|
||||
@ -324,21 +324,21 @@ def tf_workspace(path_prefix="", tf_repo_name=""):
|
||||
native.http_archive(
|
||||
name = "com_google_protobuf",
|
||||
urls = [
|
||||
"http://mirror.bazel.build/github.com/google/protobuf/archive/2b7430d96aeff2bb624c8d52182ff5e4b9f7f18a.tar.gz",
|
||||
"https://github.com/google/protobuf/archive/2b7430d96aeff2bb624c8d52182ff5e4b9f7f18a.tar.gz",
|
||||
"http://mirror.bazel.build/github.com/google/protobuf/archive/v3.3.1.tar.gz",
|
||||
"https://github.com/google/protobuf/archive/v3.3.1.tar.gz",
|
||||
],
|
||||
sha256 = "e5d3d4e227a0f7afb8745df049bbd4d55474b158ca5aaa2a0e31099af24be1d0",
|
||||
strip_prefix = "protobuf-2b7430d96aeff2bb624c8d52182ff5e4b9f7f18a",
|
||||
sha256 = "30f23a45c6f4515598702a6d19c4295ba92c4a635d7ad8d331a4db9fccff392d",
|
||||
strip_prefix = "protobuf-3.3.1",
|
||||
)
|
||||
|
||||
native.http_archive(
|
||||
name = "com_google_protobuf_cc",
|
||||
urls = [
|
||||
"http://mirror.bazel.build/github.com/google/protobuf/archive/2b7430d96aeff2bb624c8d52182ff5e4b9f7f18a.tar.gz",
|
||||
"https://github.com/google/protobuf/archive/2b7430d96aeff2bb624c8d52182ff5e4b9f7f18a.tar.gz",
|
||||
"http://mirror.bazel.build/github.com/google/protobuf/archive/v3.3.1.tar.gz",
|
||||
"https://github.com/google/protobuf/archive/v3.3.1.tar.gz",
|
||||
],
|
||||
sha256 = "e5d3d4e227a0f7afb8745df049bbd4d55474b158ca5aaa2a0e31099af24be1d0",
|
||||
strip_prefix = "protobuf-2b7430d96aeff2bb624c8d52182ff5e4b9f7f18a",
|
||||
sha256 = "30f23a45c6f4515598702a6d19c4295ba92c4a635d7ad8d331a4db9fccff392d",
|
||||
strip_prefix = "protobuf-3.3.1",
|
||||
)
|
||||
|
||||
native.new_http_archive(
|
||||
|
Loading…
x
Reference in New Issue
Block a user