Boost logo

Boost-Build :

Subject: Re: [Boost-build] Call of interest
From: Konstantin Litvinenko (to.darkangel_at_[hidden])
Date: 2009-05-28 13:41:41


Vladimir Prus пишет:
>>> How hard would it be to make Hammer compute MD5 signature of a.cpp
>>> content and use *that* to decide if update is necessary.
>> Hm. Don't know right now. Checker is separate part and has 150 LOC, so I
>> think it is not to hard to implement another one. But I am curious why
>> to use MD5 for that? I saw SCons do that, but don't get it why. Why use
>> all this cryptographic and not relay on timestamp? Is there a *real*
>> benefit?
>
> Well, if you change a file, save, and then realize the change is bad
> idea and revert, you probably don't want a rebuild.

I made a mistake and wait 1-5 secs to rebuild. But if build system will
calculate md5 every time it is just wast of CPU cycles! I don't see any
*real* benefit of doing that...


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk