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
This commit is contained in:
parent
9d44f503db
commit
b79cacf97b
|
@ -2240,6 +2240,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