Skip to content

Commit 195cc59

Browse files
authored
fix(ci): Repair py3 CPU release wheels (#2193)
1 parent c8075d1 commit 195cc59

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
@@ -48,7 +48,10 @@ jobs:
4848
CIBW_REPAIR_WHEEL_COMMAND: ""
4949
# Linux needs auditwheel repair so manylinux and musllinux wheels are
5050
# published with distinct platform tags instead of generic linux tags.
51-
CIBW_REPAIR_WHEEL_COMMAND_LINUX: "auditwheel repair -w {dest_dir} {wheel}"
51+
CIBW_REPAIR_WHEEL_COMMAND_LINUX: "LD_LIBRARY_PATH=/project/llama_cpp/lib auditwheel repair -w {dest_dir} {wheel}"
52+
# The release wheel is tagged py3-none, so one build per platform
53+
# covers all supported Python versions and avoids duplicate names.
54+
CIBW_BUILD: "cp38-*"
5255
# Skip cibuildwheel's default i686 sidecar and keep Linux release
5356
# wheels on a portable x86_64 CPU baseline.
5457
CIBW_ARCHS_LINUX: "auto64"

0 commit comments

Comments
 (0)