Commit 376d20b2 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

ci: install CUDA compilers into the container

parent 1e5f0a94
......@@ -3,3 +3,6 @@ MAINTAINER Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
COPY install_deps.sh /root/install_deps.sh
RUN sh /root/install_deps.sh
COPY install_cuda.sh /root/install_cuda.sh
RUN sh /root/install_cuda.sh
#!/bin/sh
# Install the nvidia repository.
yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo
# Install CUDA toolchains.
yum install -y \
cuda-compiler-11-2 cuda-cudart-devel-11-2 cuda-toolkit-11-2
yum clean all
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment