Skip to content

Commit

Permalink
Quick fix errors in the submodule sync script (#2492)
Browse files Browse the repository at this point in the history
To fix: #2491

Signed-off-by: timl <timl@nvidia.com>
  • Loading branch information
NvTimLiu authored Oct 11, 2024
1 parent 9d3e7f0 commit dac1fb1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/submodule-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ ${MVN} validate ${MVN_MIRROR} \
validate_status=$?
set -e

build_name=$(${MVN} help:evaluate -Dexpression=project.build.finalName -q -DforceStdout)
cuda_version=$(${MVN} help:evaluate -Dexpression=cuda.version -q -DforceStdout)
. ci/check-cuda-dependencies.sh "target/${build_name}-${cuda_version}.jar"

LIBCUDF_BUILD_PATH=$(${MVN} help:evaluate -Dexpression=libcudf.build.path -q -DforceStdout)
# Extract the rapids-cmake sha1 that we need to pin too
rapids_cmake_sha=$(git -C ${LIBCUDF_BUILD_PATH}/_deps/rapids-cmake-src/ rev-parse HEAD)
Expand Down Expand Up @@ -126,6 +122,10 @@ else
echo "Test failed, will update the result"
fi

build_name=$(${MVN} help:evaluate -Dexpression=project.build.finalName -q -DforceStdout)
cuda_version=$(${MVN} help:evaluate -Dexpression=cuda.version -q -DforceStdout)
. ci/check-cuda-dependencies.sh "target/${build_name}-${cuda_version}.jar"

# push the intermediate branch and create PR against REF
# if test passed, it will try auto-merge the PR
# if test failed, it will only comment the test result in the PR
Expand Down

0 comments on commit dac1fb1

Please sign in to comment.