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
Which mean that you could do a native build of arm64 binaries on amd64 host, in case when cross compilation is not an option. Or you could test if some edge-case happen on arm hosts.
What do you think about bringing support of --platform switch to the Abstruse CI? In my opinion it should be configurable in the matrix in .abstruse.yml, like this:
platform: host // Special platform that just take `uname -m` as platformmatrix:
- platform: arm64
- platform: arm/v7
The text was updated successfully, but these errors were encountered:
Hey! I was looking for an option to cross-compile some program, long story short: cross compilation is not supported.
And I've discovered that docker support
--platform
switch.Setup required:
# apt install -y qemu binfmt-support qemu-user-static
# docker run --rm --privileged multiarch/qemu-user-static:register
And while this solution is nowhere close to being fast, it works, it runs
arm
images onamd64
host.Which mean that you could do a native build of arm64 binaries on amd64 host, in case when cross compilation is not an option. Or you could test if some edge-case happen on arm hosts.
What do you think about bringing support of
--platform
switch to the Abstruse CI? In my opinion it should be configurable in thematrix
in.abstruse.yml
, like this:The text was updated successfully, but these errors were encountered: