Skip to content

Commit

Permalink
Fix yum sources
Browse files Browse the repository at this point in the history
  • Loading branch information
kuelumbus committed Jul 5, 2024
1 parent f590903 commit 7c19fcd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ test-command = "pytest --exitfirst --verbose --failed-first {package}/tests"

[tool.cibuildwheel.linux]
before-all = [
# Fix yum sources
# https://serverfault.com/questions/1161816/mirrorlist-centos-org-no-longer-resolve
"sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo",
"sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo",
"sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo",

# Has eigen3-devel.aarch64
"yum install -y epel-release",
# "yum install -y wget freetype-devel libpng12-devel pixman-devel zlib-devel eigen3-devel",
Expand Down

0 comments on commit 7c19fcd

Please sign in to comment.