From 3dccfaa0cdd58e4ba5cde9d68ddf1351b55db1ef Mon Sep 17 00:00:00 2001 From: Anthony Donnelly Date: Thu, 8 Jul 2021 17:27:30 -0700 Subject: science/py-tensorflow: Update 1.14.0 -> 1.15.5 PR: 250646 --- science/py-tensorflow/files/patch-WORKSPACE | 61 +++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 science/py-tensorflow/files/patch-WORKSPACE (limited to 'science/py-tensorflow/files/patch-WORKSPACE') diff --git a/science/py-tensorflow/files/patch-WORKSPACE b/science/py-tensorflow/files/patch-WORKSPACE new file mode 100644 index 000000000000..25f4dbfacc15 --- /dev/null +++ b/science/py-tensorflow/files/patch-WORKSPACE @@ -0,0 +1,61 @@ +--- WORKSPACE.orig 2021-01-04 20:18:42 UTC ++++ WORKSPACE +@@ -12,6 +12,15 @@ http_archive( + ], + ) + ++http_archive( ++ name = "io_bazel_rules_docker", ++ sha256 = "7d453450e1eb70e238eea6b31f4115607ec1200e91afea01c25f9804f37e39c8", ++ strip_prefix = "rules_docker-0.10.0", ++ urls = [ ++ "https://github.com/bazelbuild/rules_docker/releases/download/v0.10.0/rules_docker-v0.10.0.tar.gz", ++ ], ++) ++ + # Load tf_repositories() before loading dependencies for other repository so + # that dependencies like com_google_protobuf won't be overridden. + load("//tensorflow:workspace.bzl", "tf_repositories") +@@ -78,6 +87,42 @@ http_file( + executable = 1, + urls = ["https://github.com/google/xctestrunner/releases/download/0.2.7/ios_test_runner.par"], + ) # https://github.com/google/xctestrunner/releases ++ ++new_local_repository( ++ name = "jsonHeaders", ++ path = "%%LOCALBASE%%/include/json", ++ build_file_content = """ ++ ++package( ++ default_visibility = [ ++ "//visibility:public", ++ ], ++) ++ ++cc_library( ++ name = "headers", ++ srcs = glob(["*.h"]), ++) ++""", ++) ++ ++new_local_repository( ++ name = "absl_Headers", ++ path = "%%LOCALBASE%%/include/absl", ++ build_file_content = """ ++ ++package( ++ default_visibility = [ ++ "//visibility:public", ++ ], ++) ++cc_library( ++ name = "abslHeaders", ++ srcs = glob(["*/*.h", "*/*/*.h", "*/*/*/*/*/*.h"]), ++) ++ ++""", ++) + # Use `swift_rules_dependencies` to fetch the toolchains. With the + # `git_repository` rules above, the following call will skip redefining them. + load("@build_bazel_rules_swift//swift:repositories.bzl", "swift_rules_dependencies") -- cgit v1.2.3