1"""Provides the repository macro to import gemmlowp.""" 2 3load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls") 4 5def repo(): 6 """Imports gemmlowp.""" 7 8 # Attention: tools parse and update these lines. 9 # LINT.IfChange 10 GEMMLOWP_COMMIT = "e844ffd17118c1e17d94e1ba4354c075a4577b88" 11 GEMMLOWP_SHA256 = "522b7a82d920ebd0c4408a5365866a40b81d1c0d60b2369011d315cca03c6476" 12 # LINT.ThenChange(//tensorflow/lite/tools/cmake/modules/gemmlowp.cmake) 13 14 tf_http_archive( 15 name = "gemmlowp", 16 sha256 = GEMMLOWP_SHA256, 17 strip_prefix = "gemmlowp-{commit}".format(commit = GEMMLOWP_COMMIT), 18 urls = tf_mirror_urls("https://github.com/google/gemmlowp/archive/{commit}.zip".format(commit = GEMMLOWP_COMMIT)), 19 ) 20