Skip to content

Commit

Permalink
feat: add libatomic
Browse files Browse the repository at this point in the history
This makes installing rust easier.
xref pypa/cibuildwheel#2305
  • Loading branch information
mayeut committed Mar 6, 2025
1 parent 482d645 commit fe77e0d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/build_scripts/install-runtime-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ if [ "${AUDITWHEEL_POLICY}" == "manylinux2014" ]; then
fixup-mirrors
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-10-binutils devtoolset-10-gcc devtoolset-10-gcc-c++ devtoolset-10-gcc-gfortran devtoolset-10-libatomic-devel)
if [ "${AUDITWHEEL_ARCH}" == "x86_64" ]; then
# Software collection (for devtoolset-10)
yum -y install centos-release-scl-rh
Expand Down Expand Up @@ -125,15 +125,15 @@ elif [ "${OS_ID_LIKE}" == "rhel" ]; then
else
dnf config-manager --set-enabled crb
fi
TOOLCHAIN_DEPS=(gcc-toolset-14-binutils gcc-toolset-14-gcc gcc-toolset-14-gcc-c++ gcc-toolset-14-gcc-gfortran)
TOOLCHAIN_DEPS=(gcc-toolset-14-binutils gcc-toolset-14-gcc gcc-toolset-14-gcc-c++ gcc-toolset-14-gcc-gfortran gcc-toolset-14-libatomic-devel)
if [ "${AUDITWHEEL_ARCH}" == "x86_64" ]; then
TOOLCHAIN_DEPS+=(yasm)
fi
elif [ "${OS_ID_LIKE}" == "debian" ]; then
TOOLCHAIN_DEPS+=(binutils gcc g++ gfortran)
TOOLCHAIN_DEPS+=(binutils gcc g++ gfortran libatomic1)
BASE_TOOLS+=(gpg gpg-agent hardlink hostname locales xz-utils)
elif [ "${OS_ID_LIKE}" == "alpine" ]; then
TOOLCHAIN_DEPS=(binutils gcc g++ gfortran)
TOOLCHAIN_DEPS=(binutils gcc g++ gfortran libatomic)
BASE_TOOLS+=(gnupg util-linux shadow tar)
else
echo "Unsupported policy: '${AUDITWHEEL_POLICY}'"
Expand Down

0 comments on commit fe77e0d

Please sign in to comment.