From d0264d082acd655d6f93125f4ab8afcd97e0e179 Mon Sep 17 00:00:00 2001 From: jackylee-ch Date: Wed, 12 Jun 2024 20:27:47 +0800 Subject: [PATCH] [VL][BUILD] Improve Compilation Speed for Arrow --- ep/build-velox/src/build_velox.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ep/build-velox/src/build_velox.sh b/ep/build-velox/src/build_velox.sh index 5d9eba904480a..1bd7d3759ff50 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,orc -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 \ @@ -299,9 +299,9 @@ function compile_arrow_java_module() { -Dmaven.test.skip -Drat.skip -Dmaven.gitcommitid.skip -Dcheckstyle.skip -N # Arrow Java libraries - mvn install -Parrow-jni -P arrow-c-data -pl c,dataset -am \ + mvn install -Parrow-jni -P arrow-c-data -pl c,dataset \ -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 }