Open aparcar opened 4 years ago
We could collect package versions of both "tools/" and "toolchain/" and whenever something updates, a treewide package release rebuilds all packages.
With the current system package version stays the same even ig GCC is upgraded from 8 to 9 (or 10), which seems something to happen soonish.
@aparcar is this still valid?
Well sure, incremental builds are still a thing.
Hi all,
looking at the phase2 buildworkers it looks like they rebuild all packages on a daily basis, using whatever SDK is available by that time. If I'm not mistaken, this introduces three pitfalls:
An alternative could be to rebuild only what's changed since the last build. The following two shell command give a list of all packages changed since the last build of packages.git. This can be used as an input for whatever build setup is used:
The package index creation currently happens on the worker, which would no longer be of much use as the worker no longer stores all packages locally. As the signing of packages via
signall.sh
happens on the control server anyway, it may as well runmake package/index
after the new packages where synced over.This should dramatically reduce compile times for packages and would even allow a faster iteration than 24h, is desired.