-
-
Notifications
You must be signed in to change notification settings - Fork 487
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
dist.yml
: Build musllinux wheels, build linux aarch64 wheels via QEMU
#38272
Conversation
Documentation preview for this PR (built with commit 4e53812; changes) is ready! 🎉 |
.github/workflows/dist.yml
: Build manylinux aarch64 wheels via QEMUdist.yml
: Build musllinux wheels, build manylinux aarch64 wheels via QEMU
dist.yml
: Build musllinux wheels, build manylinux aarch64 wheels via QEMUdist.yml
: Build musllinux wheels, build linux aarch64 wheels via QEMU
7826649
to
e00a529
Compare
I see warnings like
No problem or not fixable? Would you rerun the test after rebase? |
That's normal. It warns about a slow operation (via CPU emulation), which is exactly what is intended here. |
Running at https://github.com/mkoeppe/sage/actions/runs/9891680565 |
It seems to complain about ".../v8" vs ".../v3". I don't know what they are... (version?) |
Is it a docker image, a container of which runs on a platform emulated by qemu? The warning means that the target platform of the docker image does not match exactly with the emulated platform? |
Ah, it is rather about arm64 vs amd64... |
Yes, the host (an amd64 machine) uses qemu to run the arm64 (= aarch64) Linux image. In the container running this image, we build the platform wheels for Linux aarch64. |
If the docker is running on the platform emulated by qemu and the message is from the docker, then the "detected host platform" is the platform emulated by qemu, which is amd64. Then the wheel is built for amd64. No? If the wheel is verified as built for arm64, then obviously there is some error in the above reasoning. So if you could verify it somehow, just ignore me :-) |
The "detected host platform" seems to mean the host platform running the github workflow. And the platform emulated by qemu is arm64. All as you said. OK. |
ChatGPT says we can avoid the warning message with
I don't know, but you may try if you want... |
From the new run:
Note that repeated "cp...-cp...". Is this correct? The job name is "wheels manylinux*_aarch64". How about just |
Yes, compare with the files at https://pypi.org/project/numpy/#files for example and https://peps.python.org/pep-0491/#file-name-convention for a description of the file name format. |
I think I'll pass on that. |
The |
I think no one can read that meaning from a single asterisk... Not a big deal, anyway. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise lgtm.
Thanks |
Other changes:
Test run: https://github.com/mkoeppe/sage/actions/runs/9666490294
The aarch64 build takes very long (e.g. 20 minutes for each wheel of sagemath-objects, total 2.5 hours for sagemath-objects, total 5 hours for all manylinux platforms) because of the CPU emulation. That's normal.
📝 Checklist
⌛ Dependencies