[FFmpeg-soc] Tips From The Hardened FFmpeg Veterans

Diego Biurrun diego at biurrun.de
Wed May 7 01:18:11 CEST 2008


On Tue, May 06, 2008 at 03:52:03PM -0700, Mike Melanson wrote:
> Diego Biurrun wrote:
> > On Tue, May 06, 2008 at 03:23:19PM -0700, Mike Melanson wrote:
> >> * ccache (ccache.samba.org): This tool caches your compiled object
> >> files. Of course, this is most useful in a project with proper
> >> dependencies,
> > 
> > Proper dependency handling is irrelevant to ccache actually.
> 
> Proper dependency handling renders ccache unnecessary for normal
> development workflow. But without the dependencies and the ensuing
> uncertainties about object file consistency, full rebuilds are required
> when strange stuff starts breaking.

Ummm, no.  For example, if you reconfigure and config.h changes, most of
the object files in FFmpeg have to be rebuilt.  ccache will speed up
things greatly if you had already compiled a similar configuration in
the past.  Same for comment updates and other header changes, if you
change a file back and forth, etc.

Proper dependency handling and ccache are orthogonal.

> >> and I'm never sure where FFmpeg is at in terms of proper dependencies.
> > 
> > Shame on you, Mike!  What rock have you been hiding under this past
> > weeks and months?  We have proper non-recursive make and absolutely
> > complete and automatic dependency handling now.
> 
> Is that what all the build system furniture-moving has been for? :) I
> was wondering what all those little .d files were.

Funny guy.  You maybe should read one of those messages on ffmpeg-cvslog
once in a while :)

Diego



More information about the FFmpeg-soc mailing list