mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
Remove clean_dep() repository macros that are no longer needed.
PiperOrigin-RevId: 358886348 Change-Id: I22dc5cce1f999961b692e48fd4c3c343e5a5768c
This commit is contained in:
parent
d7e50a18aa
commit
05701e9d6d
7
third_party/cpuinfo/workspace.bzl
vendored
7
third_party/cpuinfo/workspace.bzl
vendored
|
|
@ -2,11 +2,6 @@
|
||||||
|
|
||||||
load("//third_party:repo.bzl", "third_party_http_archive")
|
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():
|
def repo():
|
||||||
third_party_http_archive(
|
third_party_http_archive(
|
||||||
name = "cpuinfo",
|
name = "cpuinfo",
|
||||||
|
|
@ -17,5 +12,5 @@ def repo():
|
||||||
"https://github.com/pytorch/cpuinfo/archive/6cecd15784fcb6c5c0aa7311c6248879ce2cb8b2.zip",
|
"https://github.com/pytorch/cpuinfo/archive/6cecd15784fcb6c5c0aa7311c6248879ce2cb8b2.zip",
|
||||||
],
|
],
|
||||||
build_file = "//third_party/cpuinfo:BUILD.bazel",
|
build_file = "//third_party/cpuinfo:BUILD.bazel",
|
||||||
patch_file = clean_dep("//third_party/cpuinfo:cpuinfo.patch"),
|
patch_file = "//third_party/cpuinfo:cpuinfo.patch",
|
||||||
)
|
)
|
||||||
|
|
|
||||||
7
third_party/icu/workspace.bzl
vendored
7
third_party/icu/workspace.bzl
vendored
|
|
@ -2,11 +2,6 @@
|
||||||
|
|
||||||
load("//third_party:repo.bzl", "third_party_http_archive")
|
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():
|
def repo():
|
||||||
third_party_http_archive(
|
third_party_http_archive(
|
||||||
name = "icu",
|
name = "icu",
|
||||||
|
|
@ -18,5 +13,5 @@ def repo():
|
||||||
],
|
],
|
||||||
build_file = "//third_party/icu:BUILD.bazel",
|
build_file = "//third_party/icu:BUILD.bazel",
|
||||||
system_build_file = "//third_party/icu:BUILD.system",
|
system_build_file = "//third_party/icu:BUILD.system",
|
||||||
patch_file = clean_dep("//third_party/icu:udata.patch"),
|
patch_file = "//third_party/icu:udata.patch",
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user