STT-tensorflow/third_party/jpeg/workspace.bzl
Yong Tang fa9db14d56 Update libjpeg-turbo 2.0.0 => 2.0.4
This PR updates libjpeg-turbo from 2.0.0 (July 2018) to the latest 2.0.4 (Dec 2019),
as there are quite a few CVE related vulnerabilities
(https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=libjpeg) since then.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2020-04-09 18:35:32 +00:00

17 lines
671 B
Python

"""loads the jpeg library, used by TF."""
load("//third_party:repo.bzl", "third_party_http_archive")
def repo():
third_party_http_archive(
name = "libjpeg_turbo",
urls = [
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/libjpeg-turbo/libjpeg-turbo/archive/2.0.4.tar.gz",
"https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.0.4.tar.gz",
],
sha256 = "7777c3c19762940cff42b3ba4d7cd5c52d1671b39a79532050c85efb99079064",
strip_prefix = "libjpeg-turbo-2.0.4",
build_file = "//third_party/jpeg:BUILD.bazel",
system_build_file = "//third_party/jpeg:BUILD.system",
)