Skip to content

Commit

Permalink
Update toolchain in CXX11-abi docker
Browse files Browse the repository at this point in the history
To gcc-9, as older one is not compatible with latest PyTorch nor with
AVX512
  • Loading branch information
malfet committed Feb 23, 2024
1 parent effa8b7 commit 793f012
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion manywheel/Dockerfile_cxx11-abi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM centos:8 as base
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV PATH /opt/rh/gcc-toolset-9/root/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

# change to a valid repo
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*.repo
Expand All @@ -11,7 +12,8 @@ RUN sed -i 's|enabled=0|enabled=1|g' /etc/yum.repos.d/CentOS-Linux-PowerTools.re

RUN yum -y update
RUN yum install -y wget curl perl util-linux xz bzip2 git patch which zlib-devel
RUN yum install -y autoconf automake make cmake gdb gcc gcc-c++
RUN yum install -y autoconf automake make cmake gdb gcc-toolset-9-gcc-c++


FROM base as openssl
ADD ./common/install_openssl.sh install_openssl.sh
Expand Down

0 comments on commit 793f012

Please sign in to comment.