Skip to content

build: support native cross compilation with abuild

Caleb Connolly requested to merge caleb/abuild-cross into master

Set things up so that we can run abuild on the native chroot and use it's cross compilation features rather than running it and the build system through QEMU. This massively speeds up building when it works.

Packages can opt-in to this by adding pmb:cross-native to their options. It's known to work with well-behaved meson packages with a patch to abuild-meson

See example usage in pmaports!5755

Edited by Caleb Connolly

Merge request reports

Loading