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

Add cross-build #1070

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Add cross-build #1070

wants to merge 4 commits into from

Conversation

ndim
Copy link
Member

@ndim ndim commented Dec 28, 2024

Add containerized linux builds for i386, armhf, and aarch64.

Modelled after the avrdude cross builds, but does not appear to work at this time.

@tintou
Copy link
Contributor

tintou commented Jan 9, 2025

You can now use the meson build system to do the cross-build:

On debian-based systems, you can generate the cross-compilation profile with meson env2mfile --debarch=aarch64 --cross -o my-cross-compilation-profile for instance and tweak it if required.

The cross-build is then simply meson setup --cross-file my-cross-compilation-profile build && meson compile -C build

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.

2 participants