1"""loads the hwloc library, used by TF.""" 2 3load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls") 4 5def repo(): 6 tf_http_archive( 7 name = "hwloc", 8 urls = tf_mirror_urls("https://download.open-mpi.org/release/hwloc/v2.7/hwloc-2.7.1.tar.gz"), 9 sha256 = "4cb0a781ed980b03ad8c48beb57407aa67c4b908e45722954b9730379bc7f6d5", 10 strip_prefix = "hwloc-2.7.1", 11 build_file = "//third_party/hwloc:hwloc.BUILD", 12 system_build_file = "//third_party/hwloc:BUILD.system", 13 ) 14