Skip to content

Commit

Permalink
scripts/build_manylinux_in_docker.sh: use CentOS Vault mirrors for EO…
Browse files Browse the repository at this point in the history
…L CentOS 7

CentOS 7 is now EOL, so the manylinux2014 build is failing; see
pypa/manylinux#1641. Work around it by using the archive mirror.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
  • Loading branch information
osandov committed Jul 1, 2024
1 parent 22b4223 commit a36c056
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/build_manylinux_in_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ set -eux
# Drop into a shell if something fails.
trap 'if [ $? -ne 0 ]; then exec bash -i; fi' EXIT

sed -i -e 's/mirrorlist/#mirrorlist/g' \
-e 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' \
/etc/yum.repos.d/CentOS-*

yum install -y \
bzip2-devel \
libzstd-devel \
Expand Down

0 comments on commit a36c056

Please sign in to comment.