This is an automated email from the ASF dual-hosted git repository.

nihaljain pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase-connectors.git


The following commit(s) were added to refs/heads/master by this push:
     new 1498a91  HBASE-28606 Support for build on mac M1 (#129)
1498a91 is described below

commit 1498a9173ced6a9b5a75d2e6fced9a1c6724fbde
Author: Nikita Pande <[email protected]>
AuthorDate: Mon Aug 12 21:38:52 2024 +0530

    HBASE-28606 Support for build on mac M1 (#129)
    
    Signed-off-by: Wellington Ramos Chevreuil <[email protected]>
    Signed-off-by: Nihal Jain <[email protected]>
---
 pom.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/pom.xml b/pom.xml
index bdd41e9..8038cfa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -933,5 +933,18 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <!-- Use Mac x64 version of protoc for Apple Silicon (aarch64) Macs -->
+      <id>osx-aarch64</id>
+      <activation>
+        <os>
+          <family>mac</family>
+          <arch>aarch64</arch>
+        </os>
+      </activation>
+      <properties>
+        <os.detected.classifier>osx-x86_64</os.detected.classifier>
+      </properties>
+    </profile>
   </profiles>
 </project>

Reply via email to