Replies: 1 comment 6 replies
-
This is something broader I was thinking about raising with the other maintainers, actually. Thanks for reminding me! Building x86_64 wheels on arm64 is currently implemented as a cross-compile, just like it is in the opposite direction. That means it's not just before-build that detects the wrong arch, many build backends will likely also mess up the cross-compile because of missing configuration somewhere. In this one case, though, there's another solution, we can run the whole build in Rosetta emulation. Perf is generally pretty good in Rosetta (normally within 0-30% of native). Seems like a good idea to me but maybe I'm missing something! |
Beta Was this translation helpful? Give feedback.
-
I have a Gitlab CI pipeline like following, on an M1 runner, where I had to add
arch -x86_64
toCIBW_BEFORE_BUILD
in order to install a package to the environment. I would expect this to not be needed.Beta Was this translation helpful? Give feedback.
All reactions