From 1f51cf7f3d2efa03694a19eec238cf2db15b66cd Mon Sep 17 00:00:00 2001 From: Jacky Lee Date: Thu, 13 Jun 2024 14:00:20 +0800 Subject: [PATCH] [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 5d9eba904480..0224e9546861 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 }