On Sat, Feb 8, 2020 at 2:05 PM Jonas Hahnfeld <hah...@hahnjo.de> wrote:

>
> > >  * if instead we build images for every commit, then incremental
> > > building of a provided patch will be fast(er) (_if_ it doesn't touch
> > > any header file). But what's then the point of using ccache, we can
> > > just trigger a full build?
> >
> > Full builds are slower.
>
> True, but my point is that it doesn't matter: You have to do a full
> build to populate ccache; or you just build with the changes already
> applied, what's the difference?
>
>
the point is that you can take a snapshot of the full build at a point in
time.  As long as the C++ code doesn't change dramatically between that
point and the commit to be tested, you'd get cache hits on a "clean" build
at a new commit, making the whole thing faster.

-- 
Han-Wen Nienhuys - hanw...@gmail.com - http://www.xs4all.nl/~hanwen

Reply via email to