Skip to content

Commit f5231f2

Browse files
committed
chore: update to gcc 8
1 parent cd11b54 commit f5231f2

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

‎build-dockerfiles.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ TENSORT_RT_6_PACKAGES="libnvinfer6=6.0.1-1+cuda10.1 libnvinfer-dev=6.0.1-1+cuda1
1515

1616
# Not sure on this : should gcc and g++ be included ?
1717
# Useful for lot's of python install packages, let's go for yes
18-
INSTALL_PACKAGES="gcc g++ libgomp1 libopenblas-dev libomp-dev graphviz"
18+
INSTALL_PACKAGES="gcc-8 g++-8 libgomp1 libopenblas-dev libomp-dev graphviz"
1919

2020
# This are the temp package to install, when building packages or deps
21-
BUILD_PACKAGES="gcc g++ curl wget make cmake git gfortran"
21+
BUILD_PACKAGES="gcc-8 g++-8 curl wget make cmake git gfortran"
2222

2323
# MKL-DNN (or OneDNN now) version to use
2424
ONE_DNN_VERSION="v0.21.5"

‎dockerfiles/3.7/cpu/Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,15 +190,15 @@ RUN set -ex; \
190190

191191
# Adding useful packages for the image
192192
RUN apt update \
193-
&& apt install gcc g++ libgomp1 libopenblas-dev libomp-dev graphviz -y --no-install-recommends \
193+
&& apt install gcc-8 g++-8 libgomp1 libopenblas-dev libomp-dev graphviz -y --no-install-recommends \
194194
&& apt autoclean \
195195
&& apt clean \
196196
&& rm -rf /var/lib/apt/lists/*
197197

198198
# Adding MKL-DNN (now OneDNN) to the image
199199
RUN savedAptMark="$(apt-mark showmanual)" \
200200
&& apt update \
201-
&& apt install gcc g++ curl wget make cmake git gfortran -y --no-install-recommends \
201+
&& apt install gcc-8 g++-8 curl wget make cmake git gfortran -y --no-install-recommends \
202202
&& git clone https://github.com/01org/mkl-dnn.git -b v0.21.5 --depth 1 \
203203
&& cd mkl-dnn/scripts && ./prepare_mkl.sh && cd .. \
204204
&& mkdir -p build && cd build && cmake .. && make \

‎dockerfiles/3.7/gpu/Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,15 +197,15 @@ RUN apt update \
197197

198198
# Adding useful packages for the image
199199
RUN apt update \
200-
&& apt install gcc g++ libgomp1 libopenblas-dev libomp-dev graphviz -y --no-install-recommends \
200+
&& apt install gcc-8 g++-8 libgomp1 libopenblas-dev libomp-dev graphviz -y --no-install-recommends \
201201
&& apt autoclean \
202202
&& apt clean \
203203
&& rm -rf /var/lib/apt/lists/*
204204

205205
# Adding MKL-DNN (now OneDNN) to the image
206206
RUN savedAptMark="$(apt-mark showmanual)" \
207207
&& apt update \
208-
&& apt install gcc g++ curl wget make cmake git gfortran -y --no-install-recommends \
208+
&& apt install gcc-8 g++-8 curl wget make cmake git gfortran -y --no-install-recommends \
209209
&& git clone https://github.com/01org/mkl-dnn.git -b v0.21.5 --depth 1 \
210210
&& cd mkl-dnn/scripts && ./prepare_mkl.sh && cd .. \
211211
&& mkdir -p build && cd build && cmake .. && make \

‎dockerfiles/3.8/cpu/Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,15 +154,15 @@ RUN set -ex; \
154154

155155
# Adding useful packages for the image
156156
RUN apt update \
157-
&& apt install gcc g++ libgomp1 libopenblas-dev libomp-dev graphviz -y --no-install-recommends \
157+
&& apt install gcc-8 g++-8 libgomp1 libopenblas-dev libomp-dev graphviz -y --no-install-recommends \
158158
&& apt autoclean \
159159
&& apt clean \
160160
&& rm -rf /var/lib/apt/lists/*
161161

162162
# Adding MKL-DNN (now OneDNN) to the image
163163
RUN savedAptMark="$(apt-mark showmanual)" \
164164
&& apt update \
165-
&& apt install gcc g++ curl wget make cmake git gfortran -y --no-install-recommends \
165+
&& apt install gcc-8 g++-8 curl wget make cmake git gfortran -y --no-install-recommends \
166166
&& git clone https://github.com/01org/mkl-dnn.git -b v0.21.5 --depth 1 \
167167
&& cd mkl-dnn/scripts && ./prepare_mkl.sh && cd .. \
168168
&& mkdir -p build && cd build && cmake .. && make \

‎dockerfiles/3.8/gpu/Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,15 +161,15 @@ RUN apt update \
161161

162162
# Adding useful packages for the image
163163
RUN apt update \
164-
&& apt install gcc g++ libgomp1 libopenblas-dev libomp-dev graphviz -y --no-install-recommends \
164+
&& apt install gcc-8 g++-8 libgomp1 libopenblas-dev libomp-dev graphviz -y --no-install-recommends \
165165
&& apt autoclean \
166166
&& apt clean \
167167
&& rm -rf /var/lib/apt/lists/*
168168

169169
# Adding MKL-DNN (now OneDNN) to the image
170170
RUN savedAptMark="$(apt-mark showmanual)" \
171171
&& apt update \
172-
&& apt install gcc g++ curl wget make cmake git gfortran -y --no-install-recommends \
172+
&& apt install gcc-8 g++-8 curl wget make cmake git gfortran -y --no-install-recommends \
173173
&& git clone https://github.com/01org/mkl-dnn.git -b v0.21.5 --depth 1 \
174174
&& cd mkl-dnn/scripts && ./prepare_mkl.sh && cd .. \
175175
&& mkdir -p build && cd build && cmake .. && make \

0 commit comments

Comments
 (0)