pi400kb icon indicating copy to clipboard operation
pi400kb copied to clipboard

CI: Need workflow to cross-compile pi400kb for armv7l

Open Gadgetoid opened this issue 4 years ago • 2 comments

Gadgetoid avatar Oct 13 '21 14:10 Gadgetoid

I tried. I failed. Abandoning this for now. Short of a hosted runner on a real Pi there’s no succinct way to cross compile this in CI. It’s all a bit spaghetti!

Gadgetoid avatar Oct 21 '21 07:10 Gadgetoid

The stalling issue was that CMake is unable to detect the compiler from within the qemu hosted environment. It bails pretty hard. There doesn’t seem to be any modern way to skip these checks and just force a compiler.

Fetching the cross compile toolchain and preparing a sysroot to cross compile against might be the only way. That’s a lot of guff to build one small binary though.

Gadgetoid avatar Oct 21 '21 07:10 Gadgetoid