diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-10-05 12:33:55 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-10-05 12:40:50 -0700 |
commit | 6919ab5787e6384d709adf051dc1ce99236b76bc (patch) | |
tree | 734f23de7bed8ed76ec4fa47ccf694a515cd2187 /third_party/jpeg/workspace.bzl | |
parent | c5bd63fd520df4ca2f8159eef212289fb8c3ea6c (diff) |
Convert TensorFlow's jpeg dependency to new third party import method.
PiperOrigin-RevId: 215948571
Diffstat (limited to 'third_party/jpeg/workspace.bzl')
-rw-r--r-- | third_party/jpeg/workspace.bzl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/third_party/jpeg/workspace.bzl b/third_party/jpeg/workspace.bzl new file mode 100644 index 0000000000..4b517240ec --- /dev/null +++ b/third_party/jpeg/workspace.bzl @@ -0,0 +1,17 @@ +"""loads the jpeg library, used by TF.""" + +load("//third_party:repo.bzl", "third_party_http_archive") + +def repo(): + third_party_http_archive( + name = "jpeg", + urls = [ + "https://mirror.bazel.build/github.com/libjpeg-turbo/libjpeg-turbo/archive/2.0.0.tar.gz", + "https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.0.0.tar.gz", + ], + sha256 = "f892fff427ab3adffc289363eac26d197ce3ccacefe5f5822377348a8166069b", + strip_prefix = "libjpeg-turbo-2.0.0", + build_file = "//third_party/jpeg:BUILD.bazel", + # build_file = clean_dep("//third_party/jpeg:jpeg.BUILD"), + system_build_file = "//third_party/jpeg:BUILD.system", + ) |