HADOOP-17939. Support building on Apple Silicon (#3486)
Support building on Apple Silicon with ARM CPUs by using the x86_64 version of protoc. Contributed by Dongjoon Hyun Change-Id: I4b8330098822f1fd28f0113650eb709d53bcc690
This commit is contained in:
parent
bb08de559a
commit
ca7fb6a813
|
@ -2218,6 +2218,8 @@
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
|
<build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
|
||||||
|
<!-- To make protoc work on Apple Silicon via fallback -->
|
||||||
|
<os.detected.classifier>osx-x86_64</os.detected.classifier>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
|
|
Loading…
Reference in New Issue