Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Makes builds 2x faster thanks to parallelization (except for the original single core Zero W)
We could probably save even more with cross compilation, but with under minute compilation and deployment times, it doesn't really matter anymore, at least at a small scale.
The nimc.Makefile is ready to be compiled inside dockcross, but getting that working inside a Dockerfile and/or or on all platforms sounds like a chore. I'd either have to make the image much larger and include build tools for all targets, or put docker inside docker. Then, to link to system libraries like
lgpio
orevdev
, I also need to either know their exact versions, or scp the.a
files from the client device onto the build server.This complexity adds up, and since the alternative is to "wait a minute" (instead of waiting half a minute), I'll come back to it later. Perhaps with a stand alone build server.