Skip to content

Commit 240fe91

Browse files
committed
Fix aarch64
1 parent 5114680 commit 240fe91

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/release-python.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
# https://github.com/github/feedback/discussions/7835#discussioncomment-1769026
3232
buildplat:
3333
- [ubuntu-20.04, manylinux_x86_64]
34-
- [ubuntu-24.04-arm, manylinux_aarch64]
34+
- [ubuntu-20.04, manylinux_aarch64]
3535
- [macos-14, macosx_*]
3636
- [windows-2019, win_amd64]
3737
python: ["cp39", "cp310", "cp311", "cp312", "cp313"]
@@ -60,6 +60,16 @@ jobs:
6060
cache-dependency-path: 'bindings/python/pyproject.toml'
6161
allow-prereleases: true
6262

63+
- name: Set up QEMU
64+
if: matrix.buildplat[1] == 'manylinux_aarch64'
65+
uses: docker/setup-qemu-action@v3
66+
with:
67+
# setup-qemu-action by default uses `tonistiigi/binfmt:latest` image,
68+
# which is out of date. This causes seg faults during build.
69+
# Here we manually fix the version.
70+
image: tonistiigi/binfmt:qemu-v8.1.5
71+
platforms: arm64
72+
6373
- name: Install pkg-config on MacOS
6474
if: runner.os == 'macOS'
6575
run: brew install pkg-config

0 commit comments

Comments
 (0)