1"""loads the jpeg library, used by TF.""" 2 3load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls") 4 5def repo(): 6 tf_http_archive( 7 name = "libjpeg_turbo", 8 urls = tf_mirror_urls("https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.1.0.tar.gz"), 9 sha256 = "d6b7790927d658108dfd3bee2f0c66a2924c51ee7f9dc930f62c452f4a638c52", 10 strip_prefix = "libjpeg-turbo-2.1.0", 11 build_file = "//third_party/jpeg:jpeg.BUILD", 12 system_build_file = "//third_party/jpeg:BUILD.system", 13 ) 14