Remove clean_dep() repository macros that are no longer needed.

PiperOrigin-RevId: 358886348
Change-Id: I22dc5cce1f999961b692e48fd4c3c343e5a5768c
This commit is contained in:
Christian Sigg 2021-02-22 13:05:20 -08:00 committed by TensorFlower Gardener
parent d7e50a18aa
commit 05701e9d6d
2 changed files with 2 additions and 12 deletions
third_party

View File

@ -2,11 +2,6 @@
load("//third_party:repo.bzl", "third_party_http_archive")
# Sanitize a dependency so that it works correctly from code that includes
# TensorFlow as a submodule.
def clean_dep(dep):
return str(Label(dep))
def repo():
third_party_http_archive(
name = "cpuinfo",
@ -17,5 +12,5 @@ def repo():
"https://github.com/pytorch/cpuinfo/archive/6cecd15784fcb6c5c0aa7311c6248879ce2cb8b2.zip",
],
build_file = "//third_party/cpuinfo:BUILD.bazel",
patch_file = clean_dep("//third_party/cpuinfo:cpuinfo.patch"),
patch_file = "//third_party/cpuinfo:cpuinfo.patch",
)

View File

@ -2,11 +2,6 @@
load("//third_party:repo.bzl", "third_party_http_archive")
# Sanitize a dependency so that it works correctly from code that includes
# TensorFlow as a submodule.
def clean_dep(dep):
return str(Label(dep))
def repo():
third_party_http_archive(
name = "icu",
@ -18,5 +13,5 @@ def repo():
],
build_file = "//third_party/icu:BUILD.bazel",
system_build_file = "//third_party/icu:BUILD.system",
patch_file = clean_dep("//third_party/icu:udata.patch"),
patch_file = "//third_party/icu:udata.patch",
)