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

marong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new 9539ebf426 [GLUTEN-8678] Fix jar name on macos (#8679)
9539ebf426 is described below

commit 9539ebf4262e298697188eebf51a924126c0fd3f
Author: Rong Ma <[email protected]>
AuthorDate: Sat Feb 8 15:55:18 2025 +0000

    [GLUTEN-8678] Fix jar name on macos (#8679)
---
 package/pom.xml | 2 +-
 pom.xml         | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/package/pom.xml b/package/pom.xml
index a1df1edc4e..2917cb923d 100644
--- a/package/pom.xml
+++ b/package/pom.xml
@@ -224,7 +224,7 @@
               <arguments>
                 
<argument>target/gluten-package-${project.version}.jar</argument>
                 <argument>
-                  
target/${jar.assembly.name.prefix}-${backend_type}-bundle-spark${sparkbundle.version}_${scala.binary.version}-${os.detected.release}_${os.detected.release.version}_${os.detected.arch}-${project.version}.jar
+                  
target/${jar.assembly.name.prefix}-${backend_type}-bundle-spark${sparkbundle.version}_${scala.binary.version}-${os.full.name}-${project.version}.jar
                 </argument>
               </arguments>
             </configuration>
diff --git a/pom.xml b/pom.xml
index 3dd3e70897..be08b7d19d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -79,6 +79,11 @@
     <project.prefix>spark-sql-columnar</project.prefix>
     <jar.assembly.name.prefix>gluten</jar.assembly.name.prefix>
     <os-maven-plugin.version>1.5.0.Final</os-maven-plugin.version>
+    <!--
+    Will be overwritten by the profile on different platforms.
+    Otherwise, it is built from an unsupported platform.
+    -->
+    <os.full.name>unknown</os.full.name>
     <!-- To build built-in backend c++ codes -->
     <scala.recompile.mode>all</scala.recompile.mode>
     <!-- For unit tests -->
@@ -952,6 +957,7 @@
       <properties>
         <platform>darwin</platform>
         <arch>x86_64</arch>
+        <os.full.name>${platform}_${arch}</os.full.name>
       </properties>
     </profile>
     <profile>
@@ -965,6 +971,7 @@
       <properties>
         <platform>darwin</platform>
         <arch>aarch64</arch>
+        <os.full.name>${platform}_${arch}</os.full.name>
       </properties>
     </profile>
     <profile>
@@ -978,6 +985,7 @@
       <properties>
         <platform>linux</platform>
         <arch>amd64</arch>
+        <os.full.name>${platform}_${arch}</os.full.name>
       </properties>
     </profile>
     <profile>
@@ -991,6 +999,7 @@
       <properties>
         <platform>linux</platform>
         <arch>aarch64</arch>
+        <os.full.name>${platform}_${arch}</os.full.name>
       </properties>
     </profile>
   </profiles>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to