make install

David Faure faure at kde.org
Sun Oct 7 23:58:59 CEST 2007


On Friday 05 October 2007, Brad King wrote:
> David Faure wrote:
> > On Tuesday 02 October 2007, Brad King wrote:
> >> There is alot of discussion in that bug report.
> >>
> >> The comparison of files is not for speed on installation...it's for not 
> >> changing timestamps of already installed files and causing all *other* 
> >> code using the installed files to rebuild, which is potentially even 
> >> slower.
> > 
> > Yes. The real solution is a dependency from the installed file to the file-to-install, so
> > that the file-to-install isn't installed if it isn't newer than the already-installed file.
> > And then, when that is implemented, thre is no need for comparing files in order
> > to avoid changing timestamps, since you get for free by not installing the file at all :)
> 
> This has now been implemented in CMake HEAD:
> 
> http://www.cmake.org/Bug/view.php?id=3349
> 
> Repeat installations are now lightning fast.

Thanks a lot, you rock!
I could see a huge speed improvement especially when working with the laptop on batteries, this is very nice.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


More information about the Kde-buildsystem mailing list