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:
Dongjoon Hyun 2021-09-27 05:27:10 -07:00 committed by GitHub
parent 9d44f503db
commit b79cacf97b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -2240,6 +2240,8 @@
</activation>
<properties>
<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>
</profile>
<profile>