android13/external/tensorflow/third_party/cpuinfo/workspace.bzl

16 lines
664 B
Python

"""Loads the cpuinfo library, used by XNNPACK."""
load("//third_party:repo.bzl", "tf_http_archive")
def repo():
tf_http_archive(
name = "cpuinfo",
strip_prefix = "cpuinfo-5916273f79a21551890fd3d56fc5375a78d1598d",
sha256 = "2a160c527d3c58085ce260f34f9e2b161adc009b34186a2baf24e74376e89e6d",
urls = [
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/pytorch/cpuinfo/archive/5916273f79a21551890fd3d56fc5375a78d1598d.zip",
"https://github.com/pytorch/cpuinfo/archive/5916273f79a21551890fd3d56fc5375a78d1598d.zip",
],
build_file = "//third_party/cpuinfo:BUILD.bazel",
)