1load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 2 3def bazel_toolchains_archive(): 4 http_archive( 5 name = "bazel_toolchains", 6 sha256 = "88e818f9f03628eef609c8429c210ecf265ffe46c2af095f36c7ef8b1855fef5", 7 strip_prefix = "bazel-toolchains-92dd8a7a518a2fb7ba992d47c8b38299fe0be825", 8 urls = [ 9 "https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/bazel-toolchains/archive/92dd8a7a518a2fb7ba992d47c8b38299fe0be825.tar.gz", 10 "https://github.com/bazelbuild/bazel-toolchains/archive/92dd8a7a518a2fb7ba992d47c8b38299fe0be825.tar.gz", 11 ], 12 ) 13