Skip to content

Commit

Permalink
[VL][BUILD] Improve Compilation Speed for Arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
jackylee-ch committed Jun 12, 2024
1 parent c00ffe7 commit d0264d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ep/build-velox/src/build_velox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
}

Expand Down

0 comments on commit d0264d0

Please sign in to comment.