diff options
author | Anthony Donnelly <amzo1337@gmail.com> | 2021-07-08 17:27:30 -0700 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2021-07-08 17:31:37 -0700 |
commit | 3dccfaa0cdd58e4ba5cde9d68ddf1351b55db1ef (patch) | |
tree | a6eb958fb4d4cbed1e11add61edc0edeebc2cf20 /science/py-tensorflow/files/patch-WORKSPACE | |
parent | devel/google-cloud-cpp117: New port: C++ Idiomatic Clients for Google Cloud P... (diff) |
science/py-tensorflow: Update 1.14.0 -> 1.15.5
PR: 250646
Diffstat (limited to 'science/py-tensorflow/files/patch-WORKSPACE')
-rw-r--r-- | science/py-tensorflow/files/patch-WORKSPACE | 61 |
1 files changed, 61 insertions, 0 deletions
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") |