Boost logo

Boost-Build :

Subject: Re: [Boost-build] Generating multiple CPP/H targets from a singlesource
From: Fabien Chêne (fabien.chene_at_[hidden])
Date: 2010-08-17 08:57:56

2010/8/17 Juraj Ivančić <juraj.ivancic_at_[hidden]>:
> On 17.8.2010 10:56, Fabien Chêne wrote:
>>> You could try "bjam --abbreviate-paths" to see if it helps
>> Yes, it solves my problem for now. Any magic to make it the default option
>> ?
> You can add this to the user-config.jam:
> modules.poke : ARGV : [ modules.peek : ARGV ] --abbreviate-paths ;

I've added the above line in my user-config.jam. It updates ARGV but
unfortunately, it does not affect dir names.

>>> (IIRC Volodya has
>>> also previously mentioned "bjam --md5", but haven't tried that
>>> myself).
>> I don't know what it does, but I get the same error than above:
>> actions too long ...
> --md5 (i.e. --hash) makes boost build create intermediate dirs with name of
> constant size (32). For example, you get something like
> bin\2ffa9142d260c9eeb431ecbd2fbd244c\
> instead of
> bin\runtime-link-static\threading-multi\...\
> So it should help if your intermediate paths are expected to be longer
> than 32 characters.

Ah OK, the correct spelling seems to be --hash, --md5 does not work.

FYI, I've just tryed --hash and --abbreviate-paths. Both works as expected.
About compile timings, it behaves the same than the normal build, even
if both options should save memory.


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at