-
Notifications
You must be signed in to change notification settings - Fork 284
Description
Description
As far as I can tell, cibuildwheel is only prepared to copy wheels back to the host and has no room for exporting side channel shenanigans like I'm considering. Is that true, or is there are a supported way to copy non-wheel objects to the host?
Context:
Exploring options to generate manylinux-aarch64 wheels for pikepdf using cibw, running an QEMU-emulated Docker container for aarch64. The main problem with this case, as observed in other open issue tickets, is that emulation is really really slow.
Cross compiling seems to be a dead end and can be quite tricky with third party libraries whose configure-make scripts don't always contain plans for crosscompiling.
I think a fairly straightforward (for some generous definition of "fairly" and "straightforward") option would be to wire up ccache to speed up builds. The problem is that the cache needs to be copied from the Docker container back to the host (which would presumably use its CI runner to save and restore the cache). An alternative would be to copy precompiled binaries in with way to check if the cache is stale.
Copying data into the host isn't that much of an issue - the /project
folder is passed to the container and could contain a cache folder.