From 70d19445348aa7557e8ed0b58214985ab9930cbc Mon Sep 17 00:00:00 2001 From: abetlen Date: Thu, 4 Jun 2026 19:17:23 -0700 Subject: [PATCH 1/2] fix(ci): repair release wheel workflows --- .github/workflows/build-and-release.yaml | 3 +++ .github/workflows/build-wheels-rocm.yaml | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-release.yaml b/.github/workflows/build-and-release.yaml index a1b456edd..e4e9d2c3a 100644 --- a/.github/workflows/build-and-release.yaml +++ b/.github/workflows/build-and-release.yaml @@ -85,6 +85,9 @@ jobs: CIBW_SKIP: "pp*" CIBW_REPAIR_WHEEL_COMMAND: "LD_LIBRARY_PATH=$PWD/llama_cpp/lib auditwheel repair -w {dest_dir} {wheel}" CIBW_ARCHS: "aarch64" + # cibuildwheel v3 defaults aarch64 to manylinux_2_28 images whose + # current GCC toolchain emits symbols newer than the policy allows. + CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux2014" # Keep native arm64 builds on a portable CPU baseline instead of # tuning wheels to the hosted runner. CIBW_ENVIRONMENT: CMAKE_ARGS="-DGGML_NATIVE=off" diff --git a/.github/workflows/build-wheels-rocm.yaml b/.github/workflows/build-wheels-rocm.yaml index 1902c125b..6ad0b4954 100644 --- a/.github/workflows/build-wheels-rocm.yaml +++ b/.github/workflows/build-wheels-rocm.yaml @@ -33,7 +33,6 @@ jobs: - uses: actions/setup-python@v6 with: python-version: ${{ matrix.pyver }} - cache: "pip" - name: Install build dependencies run: | From b75ce6b617ddc0eb6e4ff3ce62c9b57df775e09c Mon Sep 17 00:00:00 2001 From: abetlen Date: Thu, 4 Jun 2026 19:26:28 -0700 Subject: [PATCH 2/2] fix(ci): pin linux release wheel images --- .github/workflows/build-and-release.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-release.yaml b/.github/workflows/build-and-release.yaml index e4e9d2c3a..cd9983fce 100644 --- a/.github/workflows/build-and-release.yaml +++ b/.github/workflows/build-and-release.yaml @@ -49,6 +49,9 @@ jobs: # Linux needs auditwheel repair so manylinux and musllinux wheels are # published with distinct platform tags instead of generic linux tags. CIBW_REPAIR_WHEEL_COMMAND_LINUX: "LD_LIBRARY_PATH=/project/llama_cpp/lib auditwheel repair -w {dest_dir} {wheel}" + # cibuildwheel v3 defaults to manylinux_2_28 images whose current + # GCC toolchain emits symbols newer than the policy allows. + CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2014" # The release wheel is tagged py3-none, so one build per platform # covers all supported Python versions and avoids duplicate names. CIBW_BUILD_LINUX: "cp38-*" @@ -85,8 +88,7 @@ jobs: CIBW_SKIP: "pp*" CIBW_REPAIR_WHEEL_COMMAND: "LD_LIBRARY_PATH=$PWD/llama_cpp/lib auditwheel repair -w {dest_dir} {wheel}" CIBW_ARCHS: "aarch64" - # cibuildwheel v3 defaults aarch64 to manylinux_2_28 images whose - # current GCC toolchain emits symbols newer than the policy allows. + # Keep this consistent with the x86_64 Linux release wheels. CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux2014" # Keep native arm64 builds on a portable CPU baseline instead of # tuning wheels to the hosted runner.