Boost logo

Boost-Build :

Subject: Re: [Boost-build] Very slow Visual Studio 2012 builds
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-10-01 14:51:28


AMDG

On 10/01/2013 07:29 AM, Nogradi, Chris wrote:
>
> Yes. Thanks for the suggestion, I have implemented this using config-cache.jam as an example on how to create the batch setup files. I have it working except for the following issues:
>
> - I would like the setup batch files to be rooted in the build directory for the jamroot regardless of where the command is executed. The example in build-system.jam (line 689) on how to do this looks 'scary' per the comment and in the msvc.init I would presume these things are not even available yet. Any suggestion on how to get this directory?
>

It's painful. Take a look at boostbook.jam for an example.

> - I am also writing the batch file creation action to a log file and was hoping that the actions performed (one batch file per cpu) would all be logged to the file specified in the UPDATE_NOW rule but apparently this rule overwrites rather than appending. The only way around this that I can think of is to generate all the cpu specific batch files in one action (if I can figure out how to do this) and have a log file per compiler version. Is this the only option?
>

Doesn't UPDATE_NOW take an open file descriptor?
As long as you only open the file once, it should
append. Actually, it would be better to run this
as part of the main build. Just make the msvc
obj targets depend on the batch file.

In Christ,
Steven Watanabe


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