-
Notifications
You must be signed in to change notification settings - Fork 7
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
Debian package for cjdns with optimizations #4
Comments
Side note: Something went a little haywire when I upped the kernel to 4.10 and upped jessie to stretch. The neon flag is accepted for building but the cryptofuzz test fails. I'm not sure if it is not properly supported, or if I have a botched installation somewhere. I'm curious to hear from others who upgrade in any fashion and try a build with neon. |
The current state is that cjdns gets included in a non-standard way. It gets included as a binary into the image. The main reason is that it pulls in Python, which adds ~100 MB to the tiny disk image, so @hamishcoleman has stripped out all that from the custom binary he built. This is a short-term solution however. The long-term plan for this is to include this in the top right
We should not publish device-specific binaries, just one binary for each major architecture. Board-specific _sub-_optimizations should be selected at runtime. For example, the armhf binary may contain :
All these should be packaged into a single armhf binary and which one to execute is a runtime decision. |
Tell me more about how the board specific optimized binaries work. Are you running an apt server so we can import keys and add something to apt-sources.list? How are the specific board optimized binaries determined for use at runtime? These can all live in one binary? |
Yes, that is the plan.
Only two binaries: armhf (for all the SBCs) and amd64
An ARM board will get the armhf binary, and has to choose one of the following object files (all of which are included in that binary) depending on whether it has neon, vfp7, or neither:
|
RE: Debian pkg see:
This one can be a separate deb package that can bring cjdns tools without need for python and nodejs (mesh-orange already has perl): |
Working on a reproducible environment to produce .deb packages for both cjdns and yggdrasil. Not sure yet if I will host the packages on a repo yet: https://github.com/benhylau/mesh-router-builder I would also like to use the Vagrant machine to build mesh-orange images. |
See: https://github.com/phillymesh/cjdns-optimizations#optimized-build
The text was updated successfully, but these errors were encountered: