Skip to content

Commit 1c01552

Browse files
committed
Conditionally modify YUM repositories for aarch64
1 parent b40ab8b commit 1c01552

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

s3torchconnectorclient/pyproject.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,12 @@ skip = "*musllinux* *i686"
7676
[tool.cibuildwheel.linux]
7777
before-all = [
7878
"curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y",
79-
"yum install -y epel-release centos-release-scl",
79+
"bash -c 'platform=$(uname -p); if [ \"$platform\" == \"aarch64\" ]; then sed -i \"s|centos/7|altarch/7|g\" /etc/yum.repos.d/*.repo; fi'",
8080
"yum install -y fuse",
8181
"yum install -y fuse-devel",
8282
"yum install -y make",
83-
"yum install -y cmake3",
8483
"yum install -y git",
8584
"yum install -y pkgconfig",
86-
"yum install -y dpkg",
87-
"yum install -y fakeroot",
88-
"yum install -y rpmdevtools",
8985
"yum install -y tar",
9086
"yum install -y wget",
9187
"yum install -y devtoolset-10-gcc",

0 commit comments

Comments
 (0)