Skip to content

Commit 737e873

Browse files
committed
fix(ci): publish distinct manylinux and musllinux cpu wheels
1 parent f54421b commit 737e873

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/build-and-release.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,11 @@ jobs:
4444
- name: Build wheels
4545
uses: pypa/cibuildwheel@v2.22.0
4646
env:
47-
# disable repair
47+
# Keep repair disabled by default for non-Linux platforms in this job.
4848
CIBW_REPAIR_WHEEL_COMMAND: ""
49+
# Linux needs auditwheel repair so manylinux and musllinux wheels are
50+
# published with distinct platform tags instead of generic linux tags.
51+
CIBW_REPAIR_WHEEL_COMMAND_LINUX: "auditwheel repair -w {dest_dir} {wheel}"
4952
# Skip cibuildwheel's default i686 sidecar and keep Linux release
5053
# wheels on a portable x86_64 CPU baseline.
5154
CIBW_ARCHS_LINUX: "auto64"

0 commit comments

Comments
 (0)