- Notifications
You must be signed in to change notification settings - Fork 293
Description
Description
I really like using cibuildwheel on GitHub for building wheels for various architectures, but unfortunately I need to also support projects on GitLab that require wheels for aarch64 and x86-64 architectures on Linux. From what I understand, cibuildwheel can only build wheels for x86-64 architectures on GitLab. I have personally had success building wheels for multiple architectures without cibuildwheel, but I'd like to move away from my current methods. Taken from https://github.com/Mizux/python-native/blob/main/ci/README.md for example, I would run this to create wheels for a Python project to support aarch64:
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes docker buildx build -f path/to/Dockerfile --platform linux/arm64 .I originally used https://github.com/dockcross/dockcross to cross-compile my C/C++ bindings for various architectures, however auditwheel indicated they were incompatible similar to what was noted in dockcross/dockcross#475. Unfortunately it seems that running docker buildx is the the most foolproof way as of this post to support GitLab builds. I'd like to get away from docker buildx since it's quite slow.
As noted in #951, it seems GitLab supports macOS runners so functionality could be added to build macOS wheels using that runner, so it could be worth exploring that category at some point.
TL;DR: I really want to build aarch64 wheels on GitLab for Linux and macOS. Any plans to support that?