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
{{ message }}
Repository navigation
Support running publish workflow on aarch64 runners #227
GitHub now has support for paid for aarch64 runners, which means passing labels to runs-on:. I don't think there is a way we can do this at the moment, looks like we would need to customise the get_os function
We could support something like this to modify the default image? Should just be a matter of updating get_matrix_item to extract the options depending on whether it receives a string or a dict.
Cibuildwheel docs say that it supports QEMU on Linux. The cibuildwheel and QEMU docs suggests that the QEMU action is needed for aarch64ppc64les390x. As you say, I think it might be sufficient to just check we are on Linux (uname -s) and CIBW_ARCHS contains one of those three or all, excluding the native architecture. uname -m might be sufficient. I just tested it on a RPi4 and it outputs aarch64.
Activity
Cadair commentedon Sep 16, 2024
@ConorMacBride I don't suppose you have any quick input on this before I start fumbling around in the dark?
ConorMacBride commentedon Sep 16, 2024
We could support something like this to modify the default image? Should just be a matter of updating
get_matrix_itemto extract the options depending on whether it receives a string or a dict.github-actions-workflows/tools/load_build_targets.py
Lines 68 to 75 in a0669d9
pllim commentedon Sep 17, 2024
Astropy is very interested. Please keep us updated. Thanks!
Cadair commentedon Nov 11, 2024
@ConorMacBride What do you think the best solution for detecting when to use QEMU is?
i.e. what should we change this to:
github-actions-workflows/.github/workflows/publish.yml
Line 148 in e3cc524
Should we make it check to see if
CIBW_ARCHis not equal to the native arch? I have no idea how we would do that.ConorMacBride commentedon Nov 12, 2024
Cibuildwheel docs say that it supports QEMU on Linux. The cibuildwheel and QEMU docs suggests that the QEMU action is needed for
aarch64ppc64les390x. As you say, I think it might be sufficient to just check we are on Linux (uname -s) andCIBW_ARCHScontains one of those three orall, excluding the native architecture.uname -mmight be sufficient. I just tested it on a RPi4 and it outputsaarch64.