Skip to content

Commit

Permalink
fix: PowerTools repo is called CRB in AlmaLinux 9
Browse files Browse the repository at this point in the history
  • Loading branch information
cyprienc committed Feb 20, 2024
1 parent 27ed896 commit 8e46ddd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker/build_scripts/install-runtime-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ elif [ "${AUDITWHEEL_POLICY}" == "manylinux_2_28" ] || [ "${AUDITWHEEL_POLICY}"
sed -i '/^override_install_langs=/d' /etc/yum.conf
dnf -y upgrade
dnf -y install dnf-plugins-core
dnf config-manager --set-enabled powertools # for yasm
if [ "${AUDITWHEEL_POLICY}" == "manylinux_2_34" ]; then
dnf config-manager --set-enabled crb
else
dnf config-manager --set-enabled powertools # for yasm
fi
TOOLCHAIN_DEPS="gcc-toolset-12-binutils gcc-toolset-12-gcc gcc-toolset-12-gcc-c++ gcc-toolset-12-gcc-gfortran"
if [ "${AUDITWHEEL_ARCH}" == "x86_64" ]; then
TOOLCHAIN_DEPS="${TOOLCHAIN_DEPS} yasm"
Expand Down

0 comments on commit 8e46ddd

Please sign in to comment.