From b0022ada8fd3ba6ec1c359e5d4e374b4632d70aa Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 6 Feb 2019 15:41:09 -0800 Subject: [PATCH] Internal changes only. PiperOrigin-RevId: 232761942 --- WORKSPACE | 25 +++++-------------- tensorflow/workspace.bzl | 10 -------- .../preconfig/generate/archives.bzl | 9 +++---- .../preconfig/generate/workspace.bzl | 5 +++- 4 files changed, 14 insertions(+), 35 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 957b8d8528d..9f07b9fd471 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -29,7 +29,7 @@ load( bazel_toolchains_repositories() load( - "@io_bazel_rules_docker//container:container.bzl", + "@io_bazel_rules_docker//repositories:repositories.bzl", container_repositories = "repositories", ) @@ -43,29 +43,17 @@ remote_config_workspace() # Apple and Swift rules. http_archive( name = "build_bazel_rules_apple", - sha256 = "4fe4ee824200b48821730f89ff260984332dc3551db587c24691235d1d96a8a7", - strip_prefix = "rules_apple-0.10.0", - urls = ["https://github.com/bazelbuild/rules_apple/archive/0.10.0.tar.gz"], -) -http_archive( - name = "build_bazel_rules_swift", - sha256 = "6544ff5615febec0342de1127144d2f3e43ea80fb7f9b1ade65e6a184e39e618", - strip_prefix = "rules_swift-0.5.0", - urls = ["https://github.com/bazelbuild/rules_swift/archive/0.5.0.tar.gz"], -) -http_archive( - name = "bazel_skylib", - sha256 = "eb5c57e4c12e68c0c20bc774bfbc60a568e800d025557bc4ea022c6479acc867", - strip_prefix = "bazel-skylib-0.6.0", - urls = ["https://github.com/bazelbuild/bazel-skylib/archive/0.6.0.tar.gz"], + sha256 = "73b4980a318d203d3307f850e27e66ec5cc8d223147a3475a6f11597eb6438a5", + strip_prefix = "rules_apple-0.13.0", + urls = ["https://github.com/bazelbuild/rules_apple/archive/0.13.0.tar.gz"], ) http_file( name = "xctestrunner", executable = 1, - urls = ["https://github.com/google/xctestrunner/releases/download/0.2.5/ios_test_runner.par"], + urls = ["https://github.com/google/xctestrunner/releases/download/0.2.6/ios_test_runner.par"], ) load("@build_bazel_rules_apple//apple:repositories.bzl", "apple_rules_dependencies") -apple_rules_dependencies(ignore_version_differences = True) +apple_rules_dependencies() load("@build_bazel_rules_swift//swift:repositories.bzl", "swift_rules_dependencies") swift_rules_dependencies() @@ -134,4 +122,3 @@ http_archive( "http://download.tensorflow.org/models/speech_commands_v0.01.zip", ], ) - diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl index d8dc9231843..e97041d14d2 100755 --- a/tensorflow/workspace.bzl +++ b/tensorflow/workspace.bzl @@ -718,16 +718,6 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""): ], ) - tf_http_archive( - name = "bazel_toolchains", - sha256 = "07dfbe80638eb1fe681f7c07e61b34b579c6710c691e49ee90ccdc6e9e75ebbb", - strip_prefix = "bazel-toolchains-9a111bd82161c1fbe8ed17a593ca1023fd941c70", - urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/9a111bd82161c1fbe8ed17a593ca1023fd941c70.tar.gz", - "https://github.com/bazelbuild/bazel-toolchains/archive/9a111bd82161c1fbe8ed17a593ca1023fd941c70.tar.gz", - ], - ) - tf_http_archive( name = "arm_neon_2_x86_sse", build_file = clean_dep("//third_party:arm_neon_2_x86_sse.BUILD"), diff --git a/third_party/toolchains/preconfig/generate/archives.bzl b/third_party/toolchains/preconfig/generate/archives.bzl index bafc7d49434..d20432e1de0 100644 --- a/third_party/toolchains/preconfig/generate/archives.bzl +++ b/third_party/toolchains/preconfig/generate/archives.bzl @@ -1,13 +1,12 @@ -load("//tensorflow:version_check.bzl", "parse_bazel_version") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") def bazel_toolchains_archive(): http_archive( name = "bazel_toolchains", - sha256 = "ee854b5de299138c1f4a2edb5573d22b21d975acfc7aa938f36d30b49ef97498", - strip_prefix = "bazel-toolchains-37419a124bdb9af2fec5b99a973d359b6b899b61", + sha256 = "109a99384f9d08f9e75136d218ebaebc68cc810c56897aea2224c57932052d30", + strip_prefix = "bazel-toolchains-94d31935a2c94fe7e7c7379a0f3393e181928ff7", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/37419a124bdb9af2fec5b99a973d359b6b899b61.tar.gz", - "https://github.com/bazelbuild/bazel-toolchains/archive/37419a124bdb9af2fec5b99a973d359b6b899b61.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/94d31935a2c94fe7e7c7379a0f3393e181928ff7.tar.gz", + "https://github.com/bazelbuild/bazel-toolchains/archive/94d31935a2c94fe7e7c7379a0f3393e181928ff7.tar.gz", ], ) diff --git a/third_party/toolchains/preconfig/generate/workspace.bzl b/third_party/toolchains/preconfig/generate/workspace.bzl index 04951737863..bce2d5bdbf4 100644 --- a/third_party/toolchains/preconfig/generate/workspace.bzl +++ b/third_party/toolchains/preconfig/generate/workspace.bzl @@ -1,7 +1,10 @@ +load( + "@io_bazel_rules_docker//repositories:repositories.bzl", + container_repositories = "repositories", +) load( "@io_bazel_rules_docker//container:container.bzl", "container_pull", - container_repositories = "repositories", ) load(":containers.bzl", "container_digests")