From 29ca26a765e24635c7701be8e89befb5751fdef1 Mon Sep 17 00:00:00 2001 From: Nick Dimiduk Date: Wed, 22 Mar 2023 14:24:07 +0100 Subject: [PATCH] HBASE-27741 Fall back to protoc osx-x86_64 on Apple Silicon Old protobuf-2.5 doesn't know about Apple Silicon. Fall back to the x86 binary and hope that rosetta continues to work. https://cwiki.apache.org/confluence/display/HADOOP/Develop+on+Apple+Silicon+%28M1%29+macOS Signed-off-by: Peter Somogyi --- hbase-build-configuration/pom.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/hbase-build-configuration/pom.xml b/hbase-build-configuration/pom.xml index 64f0193d362..5f6ef34e0f7 100644 --- a/hbase-build-configuration/pom.xml +++ b/hbase-build-configuration/pom.xml @@ -114,5 +114,22 @@ + + + apple-silicon-workaround + + + mac + aarch64 + + + + osx-x86_64 + +