STT-tensorflow/third_party/gemmlowp/workspace.bzl
Christian Sigg d53a69801a Polishing touches to workspace macros.
PiperOrigin-RevId: 360217268
Change-Id: I8d47c8e34e116f16011c48181f0487db48f86da8
2021-03-01 10:23:27 -08:00

21 lines
803 B
Python

"""Provides the repository macro to import gemmlowp."""
load("//third_party:repo.bzl", "tf_http_archive")
def repo():
"""Imports gemmlowp."""
# Attention: tools parse and update these lines.
GEMMLOWP_COMMIT = "fda83bdc38b118cc6b56753bd540caa49e570745"
GEMMLOWP_SHA256 = "43146e6f56cb5218a8caaab6b5d1601a083f1f31c06ff474a4378a7d35be9cfb"
tf_http_archive(
name = "gemmlowp",
sha256 = GEMMLOWP_SHA256,
strip_prefix = "gemmlowp-{commit}".format(commit = GEMMLOWP_COMMIT),
urls = [
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/gemmlowp/archive/{commit}.zip".format(commit = GEMMLOWP_COMMIT),
"https://github.com/google/gemmlowp/archive/{commit}.zip".format(commit = GEMMLOWP_COMMIT),
],
)