Skip to content

Commit

Permalink
Run mvn with the project's pom.xml in hybrid_execution.sh
Browse files Browse the repository at this point in the history
This script may run outside the project root path, so we use 'mvn -f $project_root' to target the project's pom.xml

Signed-off-by: timl <timl@nvidia.com>
  • Loading branch information
NvTimLiu committed Feb 5, 2025
1 parent 4c673a8 commit 13f03f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jenkins/hybrid_execution.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ hybrid_prepare(){
fi

echo "Downloading hybrid execution dependency jars..."
RAPIDS_HYBRID_VER=${RAPIDS_HYBRID_VER:-$(mvn -B -q help:evaluate -Dexpression=spark-rapids-hybrid.version -DforceStdout)}
project_root=$(git rev-parse --show-toplevel)
# This script may run outside the project root path, so we use mvn -f $project_root to target the project's pom.xml
RAPIDS_HYBRID_VER=${RAPIDS_HYBRID_VER:-$(mvn -f $project_root -B -q help:evaluate -Dexpression=spark-rapids-hybrid.version -DforceStdout)}
RAPIDS_HYBRID_URL=${RAPIDS_HYBRID_URL:-$URM_URL}
GLUTEN_BUNDLE_JAR="gluten-velox-bundle-${GLUTEN_VERSION}-spark${spark_prefix}_${SCALA_BINARY_VER}-${os_version}_${cup_arch}.jar"
HYBRID_JAR="rapids-4-spark-hybrid_${SCALA_BINARY_VER}-${RAPIDS_HYBRID_VER}.jar"
Expand Down

0 comments on commit 13f03f8

Please sign in to comment.