1"""Loads the clog library, used by cpuinfo and XNNPACK.""" 2 3load("//third_party:repo.bzl", "third_party_http_archive") 4 5def repo(): 6 third_party_http_archive( 7 name = "clog", 8 strip_prefix = "cpuinfo-d5e37adf1406cf899d7d9ec1d317c47506ccb970", 9 sha256 = "3f2dc1970f397a0e59db72f9fca6ff144b216895c1d606f6c94a507c1e53a025", 10 urls = [ 11 "https://storage.googleapis.com/mirror.tensorflow.org/github.com/pytorch/cpuinfo/archive/d5e37adf1406cf899d7d9ec1d317c47506ccb970.tar.gz", 12 "https://github.com/pytorch/cpuinfo/archive/d5e37adf1406cf899d7d9ec1d317c47506ccb970.tar.gz", 13 ], 14 build_file = "//third_party/clog:BUILD.bazel", 15 ) 16