Skip to content

Commit ae90c97

Browse files
committed
upgrade to gcc13
1 parent ead8288 commit ae90c97

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

manywheel/Dockerfile_2_28

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ ENV LC_ALL en_US.UTF-8
77
ENV LANG en_US.UTF-8
88
ENV LANGUAGE en_US.UTF-8
99

10-
ARG DEVTOOLSET_VERSION=11
11-
RUN yum install -y wget curl perl util-linux xz bzip2 git patch which perl zlib-devel yum-utils gcc-toolset-${DEVTOOLSET_VERSION}-toolchain
10+
ARG DEVTOOLSET_VERSION=13
11+
RUN yum install -y sudo wget curl perl util-linux xz bzip2 git patch which perl zlib-devel yum-utils gcc-toolset-${DEVTOOLSET_VERSION}-gcc gcc-toolset-${DEVTOOLSET_VERSION}-gcc-c++ gcc-toolset-${DEVTOOLSET_VERSION}-gcc-gfortran gcc-toolset-${DEVTOOLSET_VERSION}-gdb
1212
ENV PATH=/opt/rh/gcc-toolset-${DEVTOOLSET_VERSION}/root/usr/bin:$PATH
1313
ENV LD_LIBRARY_PATH=/opt/rh/gcc-toolset-${DEVTOOLSET_VERSION}/root/usr/lib64:/opt/rh/gcc-toolset-${DEVTOOLSET_VERSION}/root/usr/lib:$LD_LIBRARY_PATH
1414
# Install setuptools and wheel for python 3.12/3.13
@@ -65,7 +65,7 @@ ADD ./common/install_libpng.sh install_libpng.sh
6565
RUN bash ./install_libpng.sh && rm install_libpng.sh
6666

6767
FROM ${GPU_IMAGE} as common
68-
ARG DEVTOOLSET_VERSION=11
68+
ARG DEVTOOLSET_VERSION=13
6969
ENV LC_ALL en_US.UTF-8
7070
ENV LANG en_US.UTF-8
7171
ENV LANGUAGE en_US.UTF-8
@@ -88,13 +88,11 @@ RUN yum install -y \
8888
wget \
8989
which \
9090
xz \
91-
gcc-toolset-${DEVTOOLSET_VERSION}-toolchain \
92-
glibc-langpack-en
93-
94-
# ius-release package needs epel-release-7
95-
RUN yum install -y \
96-
https://repo.ius.io/ius-release-el7.rpm \
97-
https://ossci-linux.s3.amazonaws.com/epel-release-7-14.noarch.rpm
91+
glibc-langpack-en \
92+
gcc-toolset-${DEVTOOLSET_VERSION}-gcc \
93+
gcc-toolset-${DEVTOOLSET_VERSION}-gcc-c++ \
94+
gcc-toolset-${DEVTOOLSET_VERSION}-gcc-gfortran \
95+
gcc-toolset-${DEVTOOLSET_VERSION}-gdb
9896
#Stopped working as of 8/1 (due to CentOS EOL?)
9997
# https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
10098
RUN yum swap -y git git236-core
@@ -122,7 +120,7 @@ COPY --from=jni /usr/local/include/jni.h /usr/local/
122120

123121
FROM common as cpu_final
124122
ARG BASE_CUDA_VERSION=11.8
125-
ARG DEVTOOLSET_VERSION=11
123+
ARG DEVTOOLSET_VERSION=13
126124
# Install Anaconda
127125
ADD ./common/install_conda_docker.sh install_conda.sh
128126
RUN bash ./install_conda.sh && rm install_conda.sh

0 commit comments

Comments
 (0)