Skip to content

Commit 76a1692

Browse files
committed
Only build x86_64 and arm64 on Linux
Builds take forever using QEMU, and its probably not worth it
1 parent b966089 commit 76a1692

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,11 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v5
2121

22-
- name: Set up QEMU
23-
if: runner.os == 'Linux' && runner.arch == 'X64'
24-
uses: docker/setup-qemu-action@v3
25-
with:
26-
platforms: all
27-
2822
- name: Build wheels
2923
uses: pypa/cibuildwheel@v3.3.0
3024
env:
31-
# configure cibuildwheel on Linux to build native archs ('auto'),
32-
# and to split the remaining architectures between the x86_64 and
33-
# ARM runners
34-
CIBW_ARCHS_LINUX: ${{ runner.arch == 'X64' && 'auto ppc64le s390x' || 'auto' }}
25+
# Only build native arch on linux (x86_64 and arm64)
26+
CIBW_ARCHS_LINUX: auto
3527
# Need this to be >= 10.13 to support C++17 aligned allocations on Intel
3628
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.os == 'macos-15-intel' && '10.13' || (startsWith(matrix.os, 'macos') && '11.0' || '') }}
3729
# Only build Python 3.11+ on Windows 11 ARM

0 commit comments

Comments
 (0)