Boost logo

Boost-Build :

From: Bojan Resnik (resnikb_at_[hidden])
Date: 2007-12-03 05:30:08


> I had just got a totally crazy idea -- we have some algorithms
> to compute target paths, and --abbreviate-paths options, and it
> not quite good yet.
>
> How about just using MD5 or SHA-1 of build properties to form
> target path? Might sound scary, but after working with git for
> a bit, I find that using SHA-1 to identify things is not so
> bad, as copy-paste works. To make things easier, we might
> put a file in each build directory that lists all the properties
> of the files in that directory.
>
> Comments?

I was thinking along the same lines, and I do like the idea. The fact
that folder name will not tell anything about the features used to
build the target is irrelevant to me. The subfolders today are just
used to separate different builds from each other, and guessing the
exact hierarchy that will be generated by bjam is almost as difficult
as guessing a hash value.

-- 
Bojan Resnik

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