Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Need workflow to cross-compile pi400kb for armv7l #4

Open
Gadgetoid opened this issue Oct 13, 2021 · 2 comments
Open

CI: Need workflow to cross-compile pi400kb for armv7l #4

Gadgetoid opened this issue Oct 13, 2021 · 2 comments

Comments

@Gadgetoid
Copy link
Owner

No description provided.

@Gadgetoid
Copy link
Owner Author

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
Copy link
Owner Author

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.

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

No branches or pull requests

1 participant