Skip to content

Commit 993dff9

Browse files
committed
Build: Disable QEMU when building aarch64 wheels on aarch64.
1 parent 2913a77 commit 993dff9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎Makefile‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,12 @@ wheel:
5151
$(PYTHON) setup.py bdist_wheel
5252

5353
wheel_manylinux: sdist $(addprefix wheel_,$(MANYLINUX_IMAGES))
54+
55+
ifeq ($(strip $(shell uname -m)),x86_64)
5456
$(addprefix wheel_,$(filter-out %_x86_64, $(filter-out %_i686, $(MANYLINUX_IMAGES)))): qemu-user-static
57+
else ifeq ($(strip $(shell uname -m)),aarch64)
58+
$(addprefix wheel_,$(filter-out %_aarch64, $(MANYLINUX_IMAGES))): qemu-user-static
59+
endif
5560

5661
wheel_%: dist/$(PACKAGE)-$(VERSION).tar.gz
5762
echo "Building wheels for $(PACKAGE) $(VERSION)"

0 commit comments

Comments
 (0)