Boost logo

Boost-Build :

From: Jurko Gospodnetiæ (jurko.gospodnetic_at_[hidden])
Date: 2008-07-03 17:00:44


   Hi Daniel.

> I'm not sure, but I think the real problem is the 'cheesy gate' in MkDir:
>
> http://svn.boost.org/trac/boost/browser/trunk/tools/build/v2/tools/common.jam?rev=46793#L568
>
> It looks like it's meant to prevent multiple invocations of mkdir, but
> only checks the text of the path. Would it be possible to resolve the
> path first?

   Actually I think the 'cheesy gate' in MkDir should be enough since
bjam should always pass some sort of unique standardized paths to it. I
believe the problem is that Boost Jam tracks the same target multiple
times in case it gets specified using different paths.

   In an ideal world, Boost Jam should realize that there are several
different requests for the same folder to be created and create that
folder only once. In case that folder already exists then the action
should not be triggered at all.

   We dealt with a similar issue on Windows recently where it was doing
the exact same thing with short and long Windows path names.

   I'll try to find time to look into this but can not promise anything
for a while longer... I'm currently swamped in work and already sleep
deprived... :-)

   Best regards,
     Jurko Gospodnetiæ


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