Skip to content

Update rapids and mvn#91

Open
trivialfis wants to merge 3 commits into
dmlc:mainfrom
trivialfis:update-rapids-mvn
Open

Update rapids and mvn#91
trivialfis wants to merge 3 commits into
dmlc:mainfrom
trivialfis:update-rapids-mvn

Conversation

@trivialfis

Copy link
Copy Markdown
Member

close #90 .

  • Freeze CUDA packages.
  • Update RAPIDS to 26.06.
  • Update maven.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates CI/container build inputs by bumping RAPIDS to 26.06 and Maven to 3.9.16, while refactoring container setup to reuse shared scripts for CUDA package freezing (dnf versionlock) and gosu installation across multiple Docker images.

Changes:

  • Add setup_cuda_rockylinux.sh to versionlock installed CUDA RPMs in RockyLinux-based CUDA images.
  • Add install_gosu.sh and update Dockerfiles to use it instead of duplicating gosu download logic.
  • Update RAPIDS stable version to 26.06 and Maven to 3.9.16.

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
containers/scripts/setup_cuda_rockylinux.sh New helper to import NVIDIA GPG key, versionlock installed CUDA RPMs, and run dnf update/config.
containers/scripts/install_gosu.sh New helper to install gosu in a centralized, arch-aware way.
containers/dockerfile/Dockerfile.manylinux2014_x86_64 Switch gosu installation to shared script.
containers/dockerfile/Dockerfile.manylinux2014_aarch64 Switch gosu installation to shared script.
containers/dockerfile/Dockerfile.manylinux_2_28_x86_64 Switch gosu installation to shared script.
containers/dockerfile/Dockerfile.manylinux_2_28_aarch64 Switch gosu installation to shared script.
containers/dockerfile/Dockerfile.jvm_gpu_build Bump Maven; use shared CUDA setup + gosu install scripts.
containers/dockerfile/Dockerfile.jvm Bump Maven; use shared gosu install script.
containers/dockerfile/Dockerfile.i386 Switch gosu installation to shared script.
containers/dockerfile/Dockerfile.gpu_build_rockylinux8 Use shared CUDA setup + gosu install scripts.
containers/dockerfile/Dockerfile.gpu_build_r_rockylinux8 Use shared CUDA setup + gosu install scripts.
containers/dockerfile/Dockerfile.gpu_build_cuda13_rockylinux8 Use shared CUDA setup + gosu install scripts.
containers/dockerfile/Dockerfile.gpu Switch gosu installation to shared script.
containers/dockerfile/Dockerfile.cpu_build_r_doc Switch gosu installation to shared script.
containers/dockerfile/Dockerfile.cpu Switch gosu installation to shared script.
containers/dockerfile/Dockerfile.clang_tidy Switch gosu installation to shared script.
containers/ci_container.yml Update RAPIDS stable version anchor to 26.06.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


dnf -y install dnf-plugins-core python3-dnf-plugin-versionlock

CUDA_SHORT_DASHED=$(echo "${CUDA_VERSION}" | grep -o -E '[0-9]+\.[0-9]' | tr . -)
Comment on lines +26 to +35
gosu_url="https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-${gosu_arch}"

if command -v wget >/dev/null 2>&1; then
wget -nv -O /usr/local/bin/gosu "${gosu_url}"
elif command -v curl >/dev/null 2>&1; then
curl -fsSL -o /usr/local/bin/gosu "${gosu_url}"
else
echo "Either wget or curl is required to install gosu" >&2
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants