You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by st...@apache.org on 2021/09/27 12:27:34 UTC
[hadoop] branch trunk updated: HADOOP-17939. Support building on
Apple Silicon (#3486)
This is an automated email from the ASF dual-hosted git repository.
stevel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new b79cacf HADOOP-17939. Support building on Apple Silicon (#3486)
b79cacf is described below
commit b79cacf97b99f9433fdf757f0a3faeb3cf2409c2
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Mon Sep 27 05:27:10 2021 -0700
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
---
hadoop-project/pom.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 1435eae2..6894690 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -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>
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org