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

rajeshbabu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix-omid.git


The following commit(s) were added to refs/heads/master by this push:
     new 3c9951be OMID-283 Support for build on mac M1 (#159)
3c9951be is described below

commit 3c9951be71ca76c24bfccdfc796875ffbcfd09d8
Author: Nikita Pande <37657012+nikita...@users.noreply.github.com>
AuthorDate: Mon Apr 29 14:31:12 2024 +0530

    OMID-283 Support for build on mac M1 (#159)
---
 pom.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/pom.xml b/pom.xml
index 13135685..12d5b903 100644
--- a/pom.xml
+++ b/pom.xml
@@ -779,6 +779,19 @@
                 <protoc.version>2.5.0.2</protoc.version>
             </properties>
         </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>
 
         <profile>
             <id>code-coverage</id>

Reply via email to