Skip to content

removing the arm build as it takes 27mins#260

Open
mchristianl wants to merge 1 commit intomainfrom
mchristianl-patch-1
Open

removing the arm build as it takes 27mins#260
mchristianl wants to merge 1 commit intomainfrom
mchristianl-patch-1

Conversation

@mchristianl
Copy link
Copy Markdown
Contributor

there is no arm support for the cloud-hypervisor driver in libvirt anyways

there is no arm support for the cloud-hypervisor driver in libvirt anyways
@anokfireball
Copy link
Copy Markdown
Contributor

You will almost certainly have to remove it here as well or the makefile maker might bring it back unintentionally:

platforms: "linux/amd64,linux/arm64"

@notandy notandy self-requested a review March 11, 2026 14:45
Copy link
Copy Markdown
Contributor

@notandy notandy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You will almost certainly have to remove it here as well or the makefile maker might bring it back unintentionally:

platforms: "linux/amd64,linux/arm64"

youre right, requesting change

@toanju
Copy link
Copy Markdown
Contributor

toanju commented Mar 26, 2026

Github has native arm build, don't use qemu and gain a speedup if you want to keep the ARM builds

@felix-kaestner
Copy link
Copy Markdown
Member

Github has native arm build, don't use qemu and gain a speedup if you want to keep the ARM builds

You don't even need that. Go is able to cross-compile for different target platforms if you tell it to, meaning you can compile native arm64 binaries on amd64 and Docker can even support that through the $BUILDPLATFORM definition. See https://www.docker.com/blog/faster-multi-platform-builds-dockerfile-cross-compilation-guide/

This reduced our workflow execution (building amd64 & arm64) from ~30min to ~4min in ironcore-dev/network-operator#180.

You will just have to teach go-m-m to make use of this in the generated Dockerfile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants