Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions ci/docker/ubuntu-22.04-cpp.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN echo "debconf debconf/frontend select Noninteractive" | \
debconf-set-selections

# Install CUDA 13 compatibility layer for systems with CUDA 12 drivers
# This is required for runs-on GPU instances which have CUDA 12.9 drivers
# See: https://docs.nvidia.com/deploy/cuda-compatibility/forward-compatibility.html
ARG cuda
RUN if [ -n "${cuda}" ] && [ "$(echo ${cuda} | cut -d. -f1)" = "13" ]; then \
apt-get update -y -q && \
apt-get install -y -q --no-install-recommends cuda-compat-13-0 && \
apt-get clean && \
rm -rf /var/lib/apt/lists*; \
fi

# Installs LLVM toolchain, for Gandiva and testing other compilers
#
# Note that this is installed before the base packages to improve iteration
Expand Down
11 changes: 11 additions & 0 deletions ci/docker/ubuntu-24.04-cpp.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN echo "debconf debconf/frontend select Noninteractive" | \
debconf-set-selections

# Install CUDA 13 compatibility layer for systems with CUDA 12 drivers
# This is required for runs-on GPU instances which have CUDA 12.9 drivers
# See: https://docs.nvidia.com/deploy/cuda-compatibility/forward-compatibility.html
ARG cuda
RUN if [ -n "${cuda}" ] && [ "$(echo ${cuda} | cut -d. -f1)" = "13" ]; then \
apt-get update -y -q && \
apt-get install -y -q --no-install-recommends cuda-compat-13-0 && \
apt-get clean && \
rm -rf /var/lib/apt/lists*; \
fi

# Installs LLVM toolchain, for Gandiva and testing other compilers
#
# Note that this is installed before the base packages to improve iteration
Expand Down
1 change: 1 addition & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ services:
base: nvidia/cuda:${CUDA}-devel-ubuntu${UBUNTU}
clang_tools: ${CLANG_TOOLS}
cmake: ${CMAKE}
cuda: ${CUDA}
llvm: ${LLVM}
shm_size: *shm-size
ulimits: *ulimits
Expand Down
Loading