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