mirror of
https://github.com/tensorflow/tensorflow.git
synced 2024-11-21 21:05:19 +00:00
20 lines
759 B
Python
20 lines
759 B
Python
"""Provides the repository macro to import gemmlowp."""
|
|
|
|
load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls")
|
|
|
|
def repo():
|
|
"""Imports gemmlowp."""
|
|
|
|
# Attention: tools parse and update these lines.
|
|
# LINT.IfChange
|
|
GEMMLOWP_COMMIT = "16e8662c34917be0065110bfcd9cc27d30f52fdf"
|
|
GEMMLOWP_SHA256 = "7dc418717c8456473fac4ff2288b71057e3dcb72894524c734a4362cdb51fa8b"
|
|
# LINT.ThenChange(//tensorflow/lite/tools/cmake/modules/gemmlowp.cmake)
|
|
|
|
tf_http_archive(
|
|
name = "gemmlowp",
|
|
sha256 = GEMMLOWP_SHA256,
|
|
strip_prefix = "gemmlowp-{commit}".format(commit = GEMMLOWP_COMMIT),
|
|
urls = tf_mirror_urls("https://github.com/google/gemmlowp/archive/{commit}.zip".format(commit = GEMMLOWP_COMMIT)),
|
|
)
|