Skip to content

Commit

Permalink
Testing RAPIDS w/ 2.8
Browse files Browse the repository at this point in the history
[skip-matrix][skip-matx][skip-docs][skip-vdc]
  • Loading branch information
alliepiper committed Feb 26, 2025
1 parent cd6a090 commit 3bf5104
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/build-rapids.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: Build all RAPIDS repositories
on:
workflow_call:
inputs:
override_cccl_tag:
description: "If set, override the tag used for the CCCL repository."
required: false
default: ""
type: string
enable_slack_alerts:
description: "If true, a message will be posted to the CCCL GHA CI Alert channel if the workflow fails."
required: false
Expand Down Expand Up @@ -57,6 +62,7 @@ jobs:
role-duration-seconds: 43200 # 12h
- name: Run command # Do not change this step's name, it is checked in parse-job-times.py
env:
CCCL_TAG: ${{ inputs.override_cccl_tag }}
CI: true
RAPIDS_LIBS: ${{ matrix.libs }}
# Uncomment any of these to customize the git repo and branch for a RAPIDS lib:
Expand Down Expand Up @@ -146,6 +152,7 @@ jobs:
--docker \
--cuda ${{matrix.cuda}} \
--host rapids-conda \
--env "CCCL_TAG=${CCCL_TAG}" \
--env "AWS_ROLE_ARN=" \
--env "AWS_REGION=$AWS_REGION" \
--env "SCCACHE_REGION=$AWS_REGION" \
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-workflow-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ jobs:
contents: read
pull-requests: read
uses: ./.github/workflows/build-rapids.yml
with:
override_cccl_tag: "branch/2.8.x"

build-matx:
name: Build MatX
Expand Down
7 changes: 6 additions & 1 deletion ci/rapids/post-create-command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,13 @@ _create_rapids_cmake_override_json() {
rapids_cmake_upstream="$(yq '.x-git-defaults.upstream' /opt/rapids-build-utils/manifest.yaml)";
fi

# Define CCCL_TAG to override the default CCCL SHA. Otherwise the current HEAD of the local checkout is used.
cccl_sha="$(git -C "${HOME}/cccl" rev-parse "${CCCL_TAG-HEAD}")";
echo "CCCL_TAG: ${CCCL_TAG-HEAD}";
echo "cccl_sha: ${cccl_sha}";

curl -fsSL -o- "https://raw.githubusercontent.com/${rapids_cmake_upstream}/rapids-cmake/${rapids_cmake_tag}/rapids-cmake/cpm/versions.json" \
| jq -r ".packages.CCCL *= {\"git_url\": \"${HOME}/cccl\", \"git_tag\": \"$(git -C "${HOME}/cccl" rev-parse HEAD)\", \"always_download\": true}" \
| jq -r ".packages.CCCL *= {\"git_url\": \"${HOME}/cccl\", \"git_tag\": \"${cccl_sha}\", \"always_download\": true}" \
| tee ~/rapids-cmake-override-versions.json;

# Define default CMake args for each repo
Expand Down

0 comments on commit 3bf5104

Please sign in to comment.