Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jinchengchenghh committed May 26, 2024
1 parent 094bf3a commit 70bd2a8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions ep/build-velox/src/build_velox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,10 @@ function compile_arrow_java_module() {
ARROW_INSTALL_DIR="${ARROW_HOME}/../../install"

pushd $ARROW_HOME/java

mvn clean install -pl maven/module-info-compiler-maven-plugin -am \
-Dmaven.test.skip -Drat.skip -Dmaven.gitcommitid.skip -Dcheckstyle.skip

# Arrow C Data Interface CPP libraries
mvn generate-resources -P generate-libs-cdata-all-os -Darrow.c.jni.dist.dir=$ARROW_INSTALL_DIR \
-Dmaven.test.skip -Drat.skip -Dmaven.gitcommitid.skip -Dcheckstyle.skip -N
Expand All @@ -292,11 +296,11 @@ function compile_arrow_java_module() {
-DARROW_GANDIVA=OFF -DARROW_JAVA_JNI_ENABLE_GANDIVA=OFF -DARROW_ORC=OFF -DARROW_JAVA_JNI_ENABLE_ORC=OFF \
-Dmaven.test.skip -Drat.skip -Dmaven.gitcommitid.skip -Dcheckstyle.skip -N

# Arrow Java libraries, only arrow-dataset module version is 15.0.0-gluten, cannot use mvn version set
# because arrow-bom needs many dependency, it will take a very long time to build the dependency
mvn clean install -Parrow-jni -P arrow-c-data -pl maven/module-info-compiler-maven-plugin,c,dataset -am \
# Arrow Java libraries, only arrow-dataset module version is 15.0.0-gluten, cannot use mvn version:set
# because arrow-bom needs many dependencies, it will take a very long time to build the dependency
mvn clean install -Parrow-jni -P arrow-c-data -pl dataset,c -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 \
-DskipTests -Drat.skip -Dmaven.gitcommitid.skip -Dcheckstyle.skip
-Dmaven.test.skip -Drat.skip -Dmaven.gitcommitid.skip -Dcheckstyle.skip
popd
}

Expand Down

0 comments on commit 70bd2a8

Please sign in to comment.