From 0bb34daf9a5f2d12a30691463ae53cee913fb807 Mon Sep 17 00:00:00 2001 From: Peter Ebden Date: Mon, 29 Apr 2024 15:14:11 +0100 Subject: [PATCH] update version (#13) --- ChangeLog | 5 +++++ VERSION | 2 +- build_defs/proto.build_defs | 6 +----- third_party/proto/BUILD | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index f1673f5..cfdbf86 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Version 0.3.1 +------------- + * Remove specialisation for aarch64 + + Version 0.3.0 ------------- * Add the old legacy rules to help each the migration to the new rules. diff --git a/VERSION b/VERSION index 0d91a54..9e11b32 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.0 +0.3.1 diff --git a/build_defs/proto.build_defs b/build_defs/proto.build_defs index 1e0b8e5..5e23045 100644 --- a/build_defs/proto.build_defs +++ b/build_defs/proto.build_defs @@ -162,11 +162,7 @@ def protoc_binary(name, url:str|dict = '', version:str = '', hashes=None, deps=N elif CONFIG.HOSTARCH == 'x86': HOSTARCH = 'x86_32' elif CONFIG.HOSTARCH == 'arm64': - if CONFIG.HOSTOS == 'darwin': - # There's no arm64 distribution, but we can use the x86 version thanks to rosetta! - HOSTARCH = 'x86_64' - else: - HOSTARCH = 'aarch_64' + HOSTARCH = 'aarch_64' else: HOSTARCH = CONFIG.HOSTARCH diff --git a/third_party/proto/BUILD b/third_party/proto/BUILD index e3618e7..a102b84 100644 --- a/third_party/proto/BUILD +++ b/third_party/proto/BUILD @@ -2,6 +2,6 @@ subinclude("//build_defs:proto") protoc_binary( name = "protoc", - version = "3.19.1", + version = "21.7", visibility = ["PUBLIC"], )