Skip to content

Commit 5cc5111

Browse files
committed
fix: switch to manylinux_2_28 for modern clang/libclang
The manylinux2014 (CentOS 7) container ships a libclang version too old for bindgen. manylinux_2_28 (AlmaLinux 8) provides a compatible version.
1 parent 9bf4bcd commit 5cc5111

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,9 @@ jobs:
3030
target: ${{ matrix.target }}
3131
args: --release --out dist
3232
sccache: 'true'
33-
manylinux: auto
34-
# Install cmake inside the manylinux container (not on the host).
35-
# Tries yum (manylinux2014/CentOS), dnf (manylinux_2_28/AlmaLinux), then pip as fallback.
36-
before-script-linux: yum install -y cmake perl-IPC-Cmd clang-devel || dnf install -y cmake perl-IPC-Cmd clang-devel || pip install cmake
33+
manylinux: 2_28
34+
# Install build dependencies inside the manylinux_2_28 (AlmaLinux 8) container.
35+
before-script-linux: dnf install -y cmake perl-IPC-Cmd clang-devel
3736

3837
- name: Upload wheels
3938
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)