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 <psomogyi@apache.org>
This commit is contained in:
parent
40d2545200
commit
6024a24957
|
@ -114,5 +114,22 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<!--
|
||||||
|
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
|
||||||
|
-->
|
||||||
|
<id>apple-silicon-workaround</id>
|
||||||
|
<activation>
|
||||||
|
<os>
|
||||||
|
<family>mac</family>
|
||||||
|
<arch>aarch64</arch>
|
||||||
|
</os>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<os.detected.classifier>osx-x86_64</os.detected.classifier>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue