[
https://issues.apache.org/jira/browse/HBASE-27741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703656#comment-17703656
]
Nick Dimiduk commented on HBASE-27741:
--------------------------------------
The problem with my patch is that with it in place, maven will ignore the
osx-aarch_64 binary that you have provided yourself.
Actually, with my patch, I can force it back to the original behaviour by
adding {{-P'!apple-silicon-workaround'}} to my maven invocation. So I guess you
who have compiled a native protoc could add something like that to your
{{~/.m2/settings.xml}} to use the native executable.
> Fall back to protoc osx-x86_64 on Apple Silicon
> -----------------------------------------------
>
> Key: HBASE-27741
> URL: https://issues.apache.org/jira/browse/HBASE-27741
> Project: HBase
> Issue Type: Task
> Components: build
> Affects Versions: 2.4.0, 2.5.0, 2.6.0
> Reporter: Nick Dimiduk
> Assignee: Nick Dimiduk
> Priority: Minor
>
> Building non-master branches on an Apple Silicon machine fails because
> there's no protoc binary available. Use a profile to fall back to the x86
> version of the binary, as per
> https://cwiki.apache.org/confluence/display/HADOOP/Develop+on+Apple+Silicon+%28M1%29+macOS
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)