Skip to content

Commit 78ac75e

Browse files
authored
fix(ci): repair release wheel workflows (abetlen#2270)
1 parent 5151ac7 commit 78ac75e

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ jobs:
4949
# Linux needs auditwheel repair so manylinux and musllinux wheels are
5050
# published with distinct platform tags instead of generic linux tags.
5151
CIBW_REPAIR_WHEEL_COMMAND_LINUX: "LD_LIBRARY_PATH=/project/llama_cpp/lib auditwheel repair -w {dest_dir} {wheel}"
52+
# cibuildwheel v3 defaults to manylinux_2_28 images whose current
53+
# GCC toolchain emits symbols newer than the policy allows.
54+
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2014"
5255
# The release wheel is tagged py3-none, so one build per platform
5356
# covers all supported Python versions and avoids duplicate names.
5457
CIBW_BUILD_LINUX: "cp38-*"
@@ -85,6 +88,8 @@ jobs:
8588
CIBW_SKIP: "pp*"
8689
CIBW_REPAIR_WHEEL_COMMAND: "LD_LIBRARY_PATH=$PWD/llama_cpp/lib auditwheel repair -w {dest_dir} {wheel}"
8790
CIBW_ARCHS: "aarch64"
91+
# Keep this consistent with the x86_64 Linux release wheels.
92+
CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux2014"
8893
# Keep native arm64 builds on a portable CPU baseline instead of
8994
# tuning wheels to the hosted runner.
9095
CIBW_ENVIRONMENT: CMAKE_ARGS="-DGGML_NATIVE=off"

.github/workflows/build-wheels-rocm.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
- uses: actions/setup-python@v6
3434
with:
3535
python-version: ${{ matrix.pyver }}
36-
cache: "pip"
3736

3837
- name: Install build dependencies
3938
run: |

0 commit comments

Comments
 (0)