Skip to content

Commit 52f6849

Browse files
authored
feat: add libatomic (#1753)
This makes installing rust easier. xref pypa/cibuildwheel#2305
1 parent 482d645 commit 52f6849

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docker/build_scripts/install-runtime-packages.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ if [ "${AUDITWHEEL_POLICY}" == "manylinux2014" ]; then
9797
fixup-mirrors
9898
yum -y install yum-utils curl
9999
yum-config-manager --enable extras
100-
TOOLCHAIN_DEPS=(devtoolset-10-binutils devtoolset-10-gcc devtoolset-10-gcc-c++ devtoolset-10-gcc-gfortran)
100+
TOOLCHAIN_DEPS=(devtoolset-10-binutils devtoolset-10-gcc devtoolset-10-gcc-c++ devtoolset-10-gcc-gfortran devtoolset-10-libatomic-devel)
101101
if [ "${AUDITWHEEL_ARCH}" == "x86_64" ]; then
102102
# Software collection (for devtoolset-10)
103103
yum -y install centos-release-scl-rh
@@ -125,15 +125,15 @@ elif [ "${OS_ID_LIKE}" == "rhel" ]; then
125125
else
126126
dnf config-manager --set-enabled crb
127127
fi
128-
TOOLCHAIN_DEPS=(gcc-toolset-14-binutils gcc-toolset-14-gcc gcc-toolset-14-gcc-c++ gcc-toolset-14-gcc-gfortran)
128+
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)
129129
if [ "${AUDITWHEEL_ARCH}" == "x86_64" ]; then
130130
TOOLCHAIN_DEPS+=(yasm)
131131
fi
132132
elif [ "${OS_ID_LIKE}" == "debian" ]; then
133-
TOOLCHAIN_DEPS+=(binutils gcc g++ gfortran)
133+
TOOLCHAIN_DEPS+=(binutils gcc g++ gfortran libatomic1)
134134
BASE_TOOLS+=(gpg gpg-agent hardlink hostname locales xz-utils)
135135
elif [ "${OS_ID_LIKE}" == "alpine" ]; then
136-
TOOLCHAIN_DEPS=(binutils gcc g++ gfortran)
136+
TOOLCHAIN_DEPS=(binutils gcc g++ gfortran libatomic)
137137
BASE_TOOLS+=(gnupg util-linux shadow tar)
138138
else
139139
echo "Unsupported policy: '${AUDITWHEEL_POLICY}'"

0 commit comments

Comments
 (0)