From cdf1c098145fe60d5a755e03bfe6c79f6719b0e5 Mon Sep 17 00:00:00 2001 From: Xavier Bonaventura Date: Tue, 27 Sep 2022 22:41:54 +0200 Subject: [PATCH] Update upb to the latest in 21.x branch Some of the commits needed from this branch are: - Do not have globs that do not glob anything - Do not use platfroms from bazel_tools This is needed in order to flip the disallowance of empty globs --- distdir_deps.bzl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/distdir_deps.bzl b/distdir_deps.bzl index 15e604e5e6a6b6..137055c45668d4 100644 --- a/distdir_deps.bzl +++ b/distdir_deps.bzl @@ -185,12 +185,13 @@ DIST_DEPS = { ], }, "upb": { - "archive": "e5f26018368b11aab672e8e8bb76513f3620c579.tar.gz", - "sha256": "03b642a535656560cd95cab3b26e8c53ce37e472307dce5bb7e47c9953bbca0f", - "strip_prefix": "upb-e5f26018368b11aab672e8e8bb76513f3620c579", + "archive": "a5477045acaa34586420942098f5fecd3570f577.tar.gz", + "sha256": "cf7f71eaff90b24c1a28b49645a9ff03a9a6c1e7134291ce70901cb63e7364b5", + "strip_prefix": "upb-a5477045acaa34586420942098f5fecd3570f577", "urls": [ - "https://mirror.bazel.build/github.com/protocolbuffers/upb/archive/e5f26018368b11aab672e8e8bb76513f3620c579.tar.gz", - "https://github.com/protocolbuffers/upb/archive/e5f26018368b11aab672e8e8bb76513f3620c579.tar.gz", + # Uncomment once uploaded to bazel mirror + # "https://mirror.bazel.build/github.com/protocolbuffers/upb/archive/a5477045acaa34586420942098f5fecd3570f577.tar.gz", + "https://github.com/protocolbuffers/upb/archive/a5477045acaa34586420942098f5fecd3570f577.tar.gz", ], "used_in": [ "additional_distfiles",