Subject: Re: [Boost-build] how to add include directories for compile but not for scan
From: George Georgiev (george.georgiev.sf_at_[hidden])
Date: 2012-04-22 00:03:40
> How much is the total no-op build time?
for a build against one version of boost it is ~7s with all includes
scanned and it is reduced to ~3s when the boost is no-scan-include.
When the change is small (a few cpp files) it basically reduces the
time for the build with ~50%
The proportion is not so significant with other libraries. The only
other beast is QT. There the improvement is insignificantly better.
It does not seem so match, but once the feature is implemented it is a
pure improvement without any trade off.
Thank you for looking into this.
On Sat, Apr 21, 2012 at 8:33 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> On 04/21/2012 07:19 PM, George Georgiev wrote:
>> I found it I believe. At least if I specify HCACHEFILE bjam generates
>> a file that looks like enumeration of headers.
>> Unfortunately, this has zero effect over the performance. The
>> performance is so the same, I am not sure this file is actually used
>> in the next build process at all.
> It's possible that it doesn't work correctly.
> I haven't tested it much. Anyway, at some
> point after 1.50 I'll look into your
> optimization. Right now, any work I do
> on Boost.Build is targeted at making sure
> all the current changes get into 1.50.
>> Is this the variable you had in mind?
> In Christ,
> Steven Watanabe
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
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