You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Howdy! I'm stuck and I'm looking for guidance. I've crawled through the docs and FAQ and can't seem to find an answer.
I'm trying to build wheels for my project using a fresh install of Raspberry Pi OS Lite (32-bit) on a new Raspberry Pi 4. My project includes a custom C extension which is why I'm targeting specific architectures.
Here is some information about the hardware and software on this Pi:
I am trying to build wheels for a project of mine which will be used exclusively on other Raspberry Pis - and most commonly on 32-bit Raspberry Pi OS installations. I thought it would be easiest to build wheels for my target system on a native 32 bit system, but I'm running into this issue:
$ cibuildwheel --platform linux --archs native
...
WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/arm/v8) and no specific platform was requested
I don't see a specific platform available in the list of platform options (output of cibuildwheel --help). So, is it not possible to build wheels for a 32-bit ARM operating system using cibuildwheel? I know qemu can be used to build for different architectures than what the host is running, but even still, I don't see anything suggesting that building for arm32 is possible.
I installed numpy as a test so I could see what wheel Pip chose (since Numpy also uses C extensions):
Since you're using Raspberry Pi OS, take a look at the Pi Wheels project. It automatically builds packages that have an sdist on PyPI and makes them available on an additional index.
Thanks for the reference, @joerick. I unfortunately will not be releasing an sdist to the public for this project, so I'm looking for a 100% self-hosted option. It looks like I can run my own instance of Piwheels, so I'll start there!
Description
Howdy! I'm stuck and I'm looking for guidance. I've crawled through the docs and FAQ and can't seem to find an answer.
I'm trying to build wheels for my project using a fresh install of Raspberry Pi OS Lite (32-bit) on a new Raspberry Pi 4. My project includes a custom C extension which is why I'm targeting specific architectures.
Here is some information about the hardware and software on this Pi:
I am trying to build wheels for a project of mine which will be used exclusively on other Raspberry Pis - and most commonly on 32-bit Raspberry Pi OS installations. I thought it would be easiest to build wheels for my target system on a native 32 bit system, but I'm running into this issue:
I don't see a specific platform available in the list of platform options (output of
cibuildwheel --help
). So, is it not possible to build wheels for a 32-bit ARM operating system using cibuildwheel? I know qemu can be used to build for different architectures than what the host is running, but even still, I don't see anything suggesting that building for arm32 is possible.I installed numpy as a test so I could see what wheel Pip chose (since Numpy also uses C extensions):
... so I suppose my target architecture should be
armv7
. I'll have to look into how Numpy creates their wheels.Thanks!
Build log
No response
CI config
No response
The text was updated successfully, but these errors were encountered: