Skip to content

Commit

Permalink
resolve DNS
Browse files Browse the repository at this point in the history
  • Loading branch information
ameli committed Dec 9, 2024
1 parent 66344c7 commit 814ef56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/manylinux2014_x86_64_cuda_10.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ ENV CUDADIR=/usr/local/cuda-10.2
# ------------------

# Cuda 10 is not compatible with gcc version higher than 8.
RUN sed -i 's|^mirrorlist=.*|baseurl=http://vault.centos.org/centos/7/sclo/x86_64/sclo/|' /etc/yum.repos.d/CentOS-SCLo-scl.repo && yum clean all
RUN yum -y install centos-release-scl
RUN sed -i 's|^mirrorlist=.*|baseurl=http://vault.centos.org/centos/7/sclo/x86_64/sclo/|' /etc/yum.repos.d/CentOS-SCLo-scl.repo && yum clean all
RUN yum -y install devtoolset-8-gcc devtoolset-8-gcc-c++
# RUN ln -s /opt/rh/devtoolset-8/root/bin/gcc /usr/local/cuda/bin/gcc
# RUN ln -s /opt/rh/devtoolset-8/root/bin/g++ /usr/local/cuda/bin/g++
Expand Down

0 comments on commit 814ef56

Please sign in to comment.