Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam is not updating all targets
From: Nogradi, Chris (Chris.Nogradi_at_[hidden])
Date: 2011-05-12 10:07:35


Some additional information regarding this problem:

-it does not occur when the concurrent option -j8 (or -j2) is not used
-the problem seems to involve a generated header file which appear to be created during the 1st run and its absence causes the behavior observed

BTW, I also tried the -d+12 option to see why the final target is being short-circuited but the output is confusing. I suppose if someone can offers some pointers on what to watch for with generated headers and targets which depend upon them, I would much appreciate it.

Thanks,

Chris

From: Nogradi, Chris
Sent: Monday, May 09, 2011 10:22 AM
To: 'boost-build_at_[hidden]'
Subject: bjam is not updating all targets

Hello, I have a problem that I was hoping someone with experience could help me debug. The issue is that some targets are not built. In the example output below, I am specifying the final target (formal) to build on the command line. It appears to find it and correctly calculate the targets to update but it does not update 10 of them and there are not failures. If I reissue the bjam command again after the first attempt, it correctly builds the last 10. Any ideas?

$ bjam.exe -j8 formal release
...patience...
...found 2632 targets...
...updating 158 targets...

[snip]

...updated 148 targets...

When the same command is issued again:

$ bjam.exe -j8 formal release
...patience...
...found 2632 targets...
...updating 10 targets...

[snip]

...updated 10 targets...

Boost.Jam Version 2011.4. OS=NT.
   Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc.
   Copyright 2001 David Turner.
   Copyright 2001-2004 David Abrahams.
   Copyright 2002-2008 Rene Rivera.
   Copyright 2003-2008 Vladimir Prus.

________________________________
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.

Thank you for your cooperation.



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