Boost logo

Boost-Build :

Subject: Re: [Boost-build] Problems with -j option on Windows
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-10-18 15:06:30


On Saturday 18 October 2008 16:58:18 Kirit Sælensminde wrote:
> I'm seeing some odd behaviour building on Windows that I don't notice
> using Linux. Basically I set the -j option on bjam to 2 as I have 2
> processors and want faster builds. I get random errors with files being
> in use or builds not succeeding with other errors.

So, you basically did not give the exact error message you get.

> If I re-run the build
> command then these clear up -- I can just keep redoing the same build
> command until it succeeds.
>
> I don't *think* I'm doing anything too stupid.
>
>
> Kirit
>
> --
>
> The build command that I use is:
>
> bjam -j2 debug --toolset=msvc
>
> (I've built bjam from the Boost 1.36 tag in the Subversion repo and I'm
> using its Boost.Build files.)

Please try Boost.Jam from SVN trunk -- it has a fix for some -j issue that
specifically affected building shared libraries on Windows/msvc. You don't
have to get Boost.Build from SVN -- only Boost.Jam.

- Volodya


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