Update XNNPACK and cpuinfo dependencies
PiperOrigin-RevId: 301494671 Change-Id: I7444d1e1c0562994de775d171aae30f352259831
This commit is contained in:
parent
c59d4b63f8
commit
43b060e937
@ -148,11 +148,11 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
|
||||
|
||||
tf_http_archive(
|
||||
name = "XNNPACK",
|
||||
sha256 = "100f675c099c74da46dea8da025f6f9b5e0307370f3dde506d11bd78b2b7d171",
|
||||
strip_prefix = "XNNPACK-4ea95bef8cdd942895f23f5cc09c778d10500551",
|
||||
sha256 = "190e61e50af3497bb46b8d936bd2d2d551a9aeedb02ff66388918408a54e216a",
|
||||
strip_prefix = "XNNPACK-b18783570f0643560be641b193367d3906955141",
|
||||
urls = [
|
||||
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/XNNPACK/archive/4ea95bef8cdd942895f23f5cc09c778d10500551.zip",
|
||||
"https://github.com/google/XNNPACK/archive/4ea95bef8cdd942895f23f5cc09c778d10500551.zip",
|
||||
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/XNNPACK/archive/b18783570f0643560be641b193367d3906955141.zip",
|
||||
"https://github.com/google/XNNPACK/archive/b18783570f0643560be641b193367d3906955141.zip",
|
||||
],
|
||||
)
|
||||
|
||||
|
1
third_party/cpuinfo/BUILD.bazel
vendored
1
third_party/cpuinfo/BUILD.bazel
vendored
@ -42,7 +42,6 @@ ARM_SRCS = [
|
||||
# Platform-specific sources and headers
|
||||
LINUX_SRCS = [
|
||||
"src/linux/cpulist.c",
|
||||
"src/linux/current.c",
|
||||
"src/linux/multiline.c",
|
||||
"src/linux/processors.c",
|
||||
"src/linux/smallfile.c",
|
||||
|
3016
third_party/cpuinfo/cpuinfo.patch
vendored
Normal file
3016
third_party/cpuinfo/cpuinfo.patch
vendored
Normal file
File diff suppressed because it is too large
Load Diff
14
third_party/cpuinfo/workspace.bzl
vendored
14
third_party/cpuinfo/workspace.bzl
vendored
@ -2,14 +2,20 @@
|
||||
|
||||
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",
|
||||
strip_prefix = "cpuinfo-e39a5790059b6b8274ed91f7b5b5b13641dff267",
|
||||
sha256 = "e5caa8b7c58f1623eed88f4d5147e3753ff19cde821526bc9aa551b004f751fe",
|
||||
strip_prefix = "cpuinfo-d6c0f915ee737f961915c9d17f1679b6777af207",
|
||||
sha256 = "146fc61c3cf63d7d88db963876929a4d373f621fb65568b895efa0857f467770",
|
||||
urls = [
|
||||
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/pytorch/cpuinfo/archive/e39a5790059b6b8274ed91f7b5b5b13641dff267.tar.gz",
|
||||
"https://github.com/pytorch/cpuinfo/archive/e39a5790059b6b8274ed91f7b5b5b13641dff267.tar.gz",
|
||||
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/pytorch/cpuinfo/archive/d6c0f915ee737f961915c9d17f1679b6777af207.tar.gz",
|
||||
"https://github.com/pytorch/cpuinfo/archive/d6c0f915ee737f961915c9d17f1679b6777af207.tar.gz",
|
||||
],
|
||||
build_file = "//third_party/cpuinfo:BUILD.bazel",
|
||||
patch_file = clean_dep("//third_party/cpuinfo:cpuinfo.patch"),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user