mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-26 22:35:43 +00:00
Use GCC 10 in Linux CPU CI pipeline (#7985)
This commit is contained in:
parent
a776b57160
commit
4ecbae43b2
3 changed files with 6 additions and 4 deletions
|
|
@ -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
2
cmake/external/json
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit d98bf0278d6f59a58271425963a8422ff48fe249
|
||||
Subproject commit db78ac1d7716f56fc9f1b030b715f872f93964e4
|
||||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue