Boost logo

Boost-Build :

From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2008-08-29 11:18:01


2008/8/29 Jurko Gospodnetiæ <jurko.gospodnetic_at_[hidden]>:
> Hi Felipe.
>
>> Yes, but it is rebuilding *a lot* of things that don't need to be rebuild.
>> Anything I do, I end up building at least 188 targets (from a total
>> of around 1200).
>
> I had another idea. It could be that you're having trouble with timestamps
> in some of your headers. E.g. if one of the headers had its modification
> time set in the future that would cause all the targets depending on it to
> always be rebuilt.

But the patch makes it build a lot more things. It always built around
20 targets, now it builds around 200.

> You can test whether this is the case by checking the -d+3 output which
> shows timestamps for all targets and which are being rebuilt because they
> are considered older.

I did a:

find -newer newfile.txt
Where newfile.txt is a file with the timestamp set for now.
And nothing returned.
If I read the find manpages correctly, it should return all files that are
newer than newfile.txt. In this case in the future.

I'll try to setup a minimal test with all features I use in boost.build
(install/install-dependecies, idl, resources, etc).

> Hope this helps.
>
> Best regards,
> Jurko Gospodnetiæ

-- 
Felipe Magno de Almeida

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