Use GCC 10 in Linux CPU CI pipeline (#7985)

This commit is contained in:
Changming Sun 2021-06-08 11:53:29 -07:00 committed by GitHub
parent a776b57160
commit 4ecbae43b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

View file

@ -255,7 +255,7 @@
"component": {
"type": "git",
"git": {
"commitHash": "d98bf0278d6f59a58271425963a8422ff48fe249",
"commitHash": "db78ac1d7716f56fc9f1b030b715f872f93964e4",
"repositoryUrl": "https://github.com/nlohmann/json"
},
"comments": "git submodule at cmake/external/json"

2
cmake/external/json vendored

@ -1 +1 @@
Subproject commit d98bf0278d6f59a58271425963a8422ff48fe249
Subproject commit db78ac1d7716f56fc9f1b030b715f872f93964e4

View file

@ -1,11 +1,13 @@
FROM quay.io/pypa/manylinux2014_x86_64:latest
ENV PATH /usr/local/gradle/bin:/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ADD scripts /tmp/scripts
RUN cd /tmp/scripts && /tmp/scripts/manylinux/install_centos.sh && /tmp/scripts/manylinux/install_deps.sh && rm -rf /tmp/scripts
RUN yum remove -y devtoolset\* && yum install -y devtoolset-10-binutils devtoolset-10-gcc devtoolset-10-gcc-c++ devtoolset-10-gcc-gfortran && cd /tmp/scripts && /tmp/scripts/manylinux/install_centos.sh && /tmp/scripts/manylinux/install_deps.sh && rm -rf /tmp/scripts
ARG BUILD_UID=1001
ARG BUILD_USER=onnxruntimedev
RUN adduser --uid $BUILD_UID $BUILD_USER
WORKDIR /home/$BUILD_USER
USER $BUILD_USER
ENV PATH /usr/local/gradle/bin:$PATH