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

yangzy 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 1f51cf7f3 [VL][BUILD] Improve compilation speed for Arrow (#6061)
1f51cf7f3 is described below

commit 1f51cf7f3d2efa03694a19eec238cf2db15b66cd
Author: Jacky Lee <[email protected]>
AuthorDate: Thu Jun 13 14:00:20 2024 +0800

    [VL][BUILD] Improve compilation speed for Arrow (#6061)
---
 ep/build-velox/src/build_velox.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ep/build-velox/src/build_velox.sh 
b/ep/build-velox/src/build_velox.sh
index 5d9eba904..0224e9546 100755
--- a/ep/build-velox/src/build_velox.sh
+++ b/ep/build-velox/src/build_velox.sh
@@ -285,8 +285,8 @@ function compile_arrow_java_module() {
     # Because arrow-bom module need the -DprocessAllModules
     mvn versions:set -DnewVersion=15.0.0-gluten -DprocessAllModules
    
-    mvn clean install -am \
-          -DskipTests -Drat.skip -Dmaven.gitcommitid.skip -Dcheckstyle.skip
+    mvn clean install -pl bom,maven/module-info-compiler-maven-plugin,vector 
-am \
+          -DskipTests -Drat.skip -Dmaven.gitcommitid.skip -Dcheckstyle.skip 
-Dassembly.skipAssembly
 
     # Arrow C Data Interface CPP libraries
     mvn generate-resources -P generate-libs-cdata-all-os 
-Darrow.c.jni.dist.dir=$ARROW_INSTALL_DIR \
@@ -301,7 +301,7 @@ function compile_arrow_java_module() {
     # Arrow Java libraries
     mvn install  -Parrow-jni -P arrow-c-data -pl c,dataset -am \
       -Darrow.c.jni.dist.dir=$ARROW_INSTALL_DIR/lib 
-Darrow.dataset.jni.dist.dir=$ARROW_INSTALL_DIR/lib 
-Darrow.cpp.build.dir=$ARROW_INSTALL_DIR/lib \
-      -Dmaven.test.skip -Drat.skip -Dmaven.gitcommitid.skip -Dcheckstyle.skip
+      -Dmaven.test.skip -Drat.skip -Dmaven.gitcommitid.skip -Dcheckstyle.skip 
-Dassembly.skipAssembly
     popd
 }
 


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

Reply via email to