From 4191cba57cceea2b7d7b6a63618b4d5e7e284759 Mon Sep 17 00:00:00 2001 From: mayeut Date: Sun, 30 Jan 2022 13:49:42 +0100 Subject: [PATCH] =?UTF-8?q?feature(manylinux2014):=20bump=20devtoolset-10?= =?UTF-8?q?=20=E2=86=92=20devtoolset-11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 2 +- docker/build_scripts/install-runtime-packages.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.sh b/build.sh index abcf345b..3f0dcac9 100755 --- a/build.sh +++ b/build.sh @@ -50,7 +50,7 @@ elif [ "${POLICY}" == "manylinux2014" ]; then else BASEIMAGE="${MULTIARCH_PREFIX}centos:7" fi - DEVTOOLSET_ROOTPATH="/opt/rh/devtoolset-10/root" + DEVTOOLSET_ROOTPATH="/opt/rh/devtoolset-11/root" PREPEND_PATH="${DEVTOOLSET_ROOTPATH}/usr/bin:" if [ "${PLATFORM}" == "i686" ]; then LD_LIBRARY_PATH_ARG="${DEVTOOLSET_ROOTPATH}/usr/lib:${DEVTOOLSET_ROOTPATH}/usr/lib/dyninst" diff --git a/docker/build_scripts/install-runtime-packages.sh b/docker/build_scripts/install-runtime-packages.sh index 3ddd4437..03657a86 100755 --- a/docker/build_scripts/install-runtime-packages.sh +++ b/docker/build_scripts/install-runtime-packages.sh @@ -96,20 +96,20 @@ elif [ "${AUDITWHEEL_POLICY}" == "manylinux2014" ]; then yum -y update yum -y install yum-utils curl yum-config-manager --enable extras - TOOLCHAIN_DEPS="devtoolset-10-binutils devtoolset-10-gcc devtoolset-10-gcc-c++ devtoolset-10-gcc-gfortran" + TOOLCHAIN_DEPS="devtoolset-11-binutils devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-gcc-gfortran" if [ "${AUDITWHEEL_ARCH}" == "x86_64" ]; then - # Software collection (for devtoolset-10) + # Software collection (for devtoolset-11) yum -y install centos-release-scl-rh # EPEL support (for yasm) yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm TOOLCHAIN_DEPS="${TOOLCHAIN_DEPS} yasm" elif [ "${AUDITWHEEL_ARCH}" == "aarch64" ] || [ "${AUDITWHEEL_ARCH}" == "ppc64le" ] || [ "${AUDITWHEEL_ARCH}" == "s390x" ]; then - # Software collection (for devtoolset-10) + # Software collection (for devtoolset-11) yum -y install centos-release-scl-rh elif [ "${AUDITWHEEL_ARCH}" == "i686" ]; then # No yasm on i686 - # Install mayeut/devtoolset-10 repo to get devtoolset-10 - curl -fsSLo /etc/yum.repos.d/mayeut-devtoolset-10.repo https://copr.fedorainfracloud.org/coprs/mayeut/devtoolset-10/repo/custom-1/mayeut-devtoolset-10-custom-1.repo + # Install mayeut/devtoolset-11 repo to get devtoolset-11 + curl -fsSLo /etc/yum.repos.d/mayeut-devtoolset-11.repo https://copr.fedorainfracloud.org/coprs/mayeut/devtoolset-11/repo/custom-1/mayeut-devtoolset-11-custom-1.repo fi elif [ "${AUDITWHEEL_POLICY}" == "manylinux_2_24" ]; then PACKAGE_MANAGER=apt