• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1"""loads the jpeg library, used by TF."""
2
3load("//third_party:repo.bzl", "tf_http_archive")
4
5def repo():
6    tf_http_archive(
7        name = "libjpeg_turbo",
8        urls = [
9            "https://storage.googleapis.com/mirror.tensorflow.org/github.com/libjpeg-turbo/libjpeg-turbo/archive/2.1.0.tar.gz",
10            "https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.1.0.tar.gz",
11        ],
12        sha256 = "d6b7790927d658108dfd3bee2f0c66a2924c51ee7f9dc930f62c452f4a638c52",
13        strip_prefix = "libjpeg-turbo-2.1.0",
14        build_file = "//third_party/jpeg:BUILD.bazel",
15        system_build_file = "//third_party/jpeg:BUILD.system",
16    )
17