Skip to content

Commit

Permalink
[submodule-sync] bot-submodule-sync-branch-24.02 to branch-24.02 [ski…
Browse files Browse the repository at this point in the history
…p ci] [bot] (NVIDIA#1821)

* checkout to tag

* Update submodule cudf to v24.04.00a

Signed-off-by: spark-rapids automation <[email protected]>

---------

Signed-off-by: spark-rapids automation <[email protected]>
Co-authored-by: Tim Liu <[email protected]>
  • Loading branch information
nvauto and NvTimLiu authored Mar 3, 2024
1 parent 207f43f commit 18745a6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
18 changes: 14 additions & 4 deletions ci/submodule-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

set -ex

OWNER=${OWNER:-"NVIDIA"}
OWNER=${OWNER:-"NVTIMLIU"}
REPO=${REPO:-"spark-rapids-jni"}
PARALLEL_LEVEL=${PARALLEL_LEVEL:-4}
REPO_LOC="github.com/${OWNER}/${REPO}.git"
Expand Down Expand Up @@ -50,7 +50,13 @@ else
fi

# sync up cudf from remote
git submodule update --remote --merge
if [ -n "$CUDF_TAG" ]; then
pushd thirdparty/cudf
git checkout tags/$CUDF_TAG
popd
else
git submodule update --remote --merge
fi
cudf_sha=$(git -C thirdparty/cudf rev-parse HEAD)
if [[ "${cudf_sha}" == "${cudf_prev_sha}" ]]; then
echo "Submodule is up to date."
Expand All @@ -59,14 +65,18 @@ fi

echo "Try update cudf submodule to ${cudf_sha}..."
git add .
git diff-index --quiet HEAD || git commit -s -m "Update submodule cudf to ${cudf_sha}"
if [ -n "$CUDF_TAG" ]; then
git diff-index --quiet HEAD || git commit -s -m "Update submodule cudf to ${CUDF_TAG}"
else
git diff-index --quiet HEAD || git commit -s -m "Update submodule cudf to ${cudf_sha}"
fi
sha=$(git rev-parse HEAD)

echo "Test against ${cudf_sha}..."

MVN="mvn -Dmaven.wagon.http.retryHandler.count=3 -B"
set +e
${MVN} verify ${MVN_MIRROR} \
echo ${MVN} verify ${MVN_MIRROR} \
-DCPP_PARALLEL_LEVEL=${PARALLEL_LEVEL} \
-Dlibcudf.build.configure=true \
-DUSE_GDS=ON -Dtest=*,!CuFileTest,!CudaFatalTest,!ColumnViewNonEmptyNullsTest \
Expand Down
2 changes: 1 addition & 1 deletion thirdparty/cudf
Submodule cudf updated 227 files

0 comments on commit 18745a6

Please sign in to comment.