-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When building an arm64 wheel on macos-12 runner on GitHub Actions, the artifact filename contains x86_64 #1415
Comments
could you add part of log before Building Wheel (this part with setup python)? |
It would also be useful to see your build config- pyproject.toml etc.
|
As far as I remember (see python-poetry/poetry#7107) poetry does not support cross-compilation of wheels. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Hello Team!
As per subject. When building an arm64 wheel on
macos-12
runner on GitHub Actions and using cibuildwheelmacosx_arm64
, the final artifact filename containsx86_64
, instead ofarm64
.Is the file naming logic working as intended or is it a bug or am I blatantly missing something here? If this is the latter, then I apologize for wasting your time 🙇🏼 Does the library assigns the underlying architecture type to the filename, despite the fact that I am building an
arm64
wheel?To name the .whl file to contain
arm64
, I ended up leveragingCIBW_REPAIR_WHEEL_COMMAND_MACOS
to rename the artifact after the repair process. This is kind of important for me, since I generate multiple artifacts on different platforms and I do not want artifact names to conflict.Although I cannot provide links to the Ci config, as this is a private repository, I can paste the GitHub action job config here:
CI config
Build log
Poetry build.py
^ I am not actually building anything using the above script, the wheels that i am building are merely wrappers for a compiled Go source into
.so
fileThe text was updated successfully, but these errors were encountered: