From 6f6711c21f8ffab38118d09e0556d5a8b8222515 Mon Sep 17 00:00:00 2001 From: Vertexwahn Date: Fri, 16 Jul 2021 22:46:37 +0200 Subject: [PATCH] Use Bazel standard convention for repository names Signed-off-by: Vertexwahn --- BUILD.bazel | 2 +- bazel/third_party/openexr_deps.bzl | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/BUILD.bazel b/BUILD.bazel index 8cc343cf71..e93d79bb22 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -374,7 +374,7 @@ cc_library( ":OpenEXRConfig.h", ":OpenEXRConfigInternal.h", "@Imath", - "@zlib", + "@net_zlib_zlib//:zlib", ], ) diff --git a/bazel/third_party/openexr_deps.bzl b/bazel/third_party/openexr_deps.bzl index 06a0e4bcf7..3a4f975c5d 100644 --- a/bazel/third_party/openexr_deps.bzl +++ b/bazel/third_party/openexr_deps.bzl @@ -11,11 +11,14 @@ def openexr_deps(): maybe( http_archive, - name = "zlib", + name = "net_zlib_zlib", build_file = "@openexr//:bazel/third_party/zlib.BUILD", sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1", strip_prefix = "zlib-1.2.11", - urls = ["https://zlib.net/zlib-1.2.11.tar.gz"], + urls = [ + "https://zlib.net/zlib-1.2.11.tar.gz", + "https://mirror.bazel.build/zlib.net/zlib-1.2.11.tar.gz", + ], ) # sha256 was determined using: