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:28:21 UTC

[hadoop] branch branch-3.3 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 branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.3 by this push:
     new ca7fb6a  HADOOP-17939. Support building on Apple Silicon (#3486)
ca7fb6a is described below

commit ca7fb6a813ffc40cd7697ae5d3c38ad5288018dc
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
    
    Change-Id: I4b8330098822f1fd28f0113650eb709d53bcc690
---
 hadoop-project/pom.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 53937c6..8ac0fd8 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -2218,6 +2218,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