Boost logo

Boost-Build :

Subject: Re: [Boost-build] Very slow Visual Studio 2012 builds
From: Juraj Ivanèiæ (juraj.ivancic_at_[hidden])
Date: 2013-11-05 09:03:46


On 5.11.2013. 14:21, Nogradi, Chris wrote:

> Hmm maybe I am missing something but it looks like every time you invoke
> bjam/b2, msvc.init will invoke your new code which calls 2 sets and the
> msvc batch file for every architecture/cpu and produces sets of
> environment variables. Caching these variables to batch files
> would allow the variables to not have to be calculated
> during every invocation (better for incremental builds).

True, but invoking 3-4 batch files per b2 invocation is a big
improvement compared to calling one for each MSVC action.
This should hardly be observable. Additionally - no files need
to be generated, which really simplifies things.

Could you please try my latest patch and see how it behaves?


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