Skip to content

Cross compilation #127

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

Closed
wants to merge 4 commits into from
Closed

Cross compilation #127

wants to merge 4 commits into from

Conversation

mariusandra
Copy link
Collaborator

work in progress...

@mariusandra
Copy link
Collaborator Author

Closing in favour of #146

There are too many different version of RPi OS in the wild, so cross compilation becomes hard. We have to have exactly the right libraries when cross-compiling. This means we have to scp them from the frame beforehand.

An easier solution is to use fully deterministic builds, like NixOS does. The PR referenced above does all the compilation/building on the backend, before uploading the final artefacts to the frame. This way I'm getting 90sec full deploys on a pi zero w2. The next step is to split up the FrameOS core and the apps/scenes, so each could be deployed independently, making small changes even faster.

@mariusandra mariusandra closed this Aug 2, 2025
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.

1 participant