mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-29 11:10:40 +00:00
`prepare` builds a multiarch image using qemu emulation. It turns out that aarch64 emulation is slowest (due to emulating pointer authentication) so it makes sense to run it on an aarch64 host. To do that, we need only to adjust the check for qemu installation. Unfortunately, docker arch names and Linux arch names are different, so we have to add an ungainly translation, but otherwise it is a simple loop.