-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[v1.x] use centos7 base image for aarch64 build #20392
Conversation
Hey @mseth10 , Thanks for submitting the PR
CI supported jobs: [windows-cpu, clang, edge, miscellaneous, unix-cpu, centos-cpu, unix-gpu, windows-gpu, centos-gpu, website, sanity] Note: |
ccc57fa
to
c28212e
Compare
@mxnet-bot run ci [centos-cpu, centos-gpu, clang, edge, unix-cpu, unix-gpu, miscellaneous] |
Jenkins CI successfully triggered : [centos-gpu, unix-cpu, clang, centos-cpu, edge, miscellaneous, unix-gpu] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks Manu!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
* add centos7 aarch64 build * enable rh packages * update openssl curl version * install rhel7 armpl * find armpl cmake * test mkldnn build * test ninja * use armpl compiled with gcc-8 * enable py38 for unittests * check previously failing tests * create symlink for ninja * fix cd pypi * fix cd docker * update ssl for mac
…0423) * [v1.x] use centos7 base image for aarch64 build (#20392) * add centos7 aarch64 build * enable rh packages * update openssl curl version * install rhel7 armpl * find armpl cmake * test mkldnn build * test ninja * use armpl compiled with gcc-8 * enable py38 for unittests * check previously failing tests * create symlink for ninja * fix cd pypi * fix cd docker * update ssl for mac * [v1.x] Update CD pipeline to build with centos7 (#20409) Co-authored-by: Wei Chu <[email protected]> Co-authored-by: Manu Seth <[email protected]> Co-authored-by: Wei Chu <[email protected]>
Description
This PR changes the base docker image used by CD pipeline from
Ubuntu 18
toCentOS 7
. This relaxes the systemglibc
requirement of the nightly wheel from>=2.27
to>=2.17
, thus allowing it to run on allmanylinux2014
systems.We install
devtoolset-10
andrh-python38
packages from CentOS SCLo RH repository, which givesgcc
/g++
/gfortran-10.2
allowing us to use-moutline-atomics
C/C++ build flag, andnumpy-v1.17.3
which helps pass unittests which were failing earlier #20289.We continue to use ArmPL built with
gcc-8
as ArmPL built withgcc-10
requires somegfortran-10
symbols that are not present indevtoolset-10
as it is a patched version.The changes have been tested on a test CD pipeline and it passes for all flavors: https://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/restricted-mxnet-cd%2Fsethman-test-cd-pipeline/detail/sethman-test-cd-pipeline/18/pipeline/30