[Scons-users] parallel builds on Windows

Gary Oberbrunner garyo at oberbrunner.com
Wed Mar 25 14:25:14 EDT 2020


I've been doing parallel builds on Windows with SCons since the 0.95 days,
15+ years ago. You do have to do a few things like separate the PDB as you
noted, Damien, but it's pretty straightforward.

On Wed, Mar 25, 2020 at 1:50 PM Damien <damien at khubla.com> wrote:

> We first tried ten or twelve years ago (2008?) with parallel builds in
> Scons on Windows, tried the Z7 option and all kinds of things, we wrote our
> own incremental linker scripts, none of it worked. VS 2010 couldn't do it,
> 2012 couldn't do it, 2013 couldn't do it, 2015 couldn't either and 2017
> early versions couldn't so we just gave up. I had no idea it was possible
> now. That installer writable hack became necessary in one particular
> oil/gas corporate environment where IT had really strong scanning policies,
> even with software development. The installers would just die and the
> automated build chain would halt.
>
> Damien
>
> On 3/25/2020 11:08 AM, Bill Deegan wrote:
>
> News to me..
> I really get frustrated when users find issues with SCons work around them
> and don't minimally report the issue to the community/project.
>
> Still an interesting solution. Add an action which blocks until the file
> is writable.
>
> On Wed, Mar 25, 2020 at 9:48 AM Pierre-Luc Boily <
> pierreluc.boily at gmail.com> wrote:
>
>> Same here, it is working well on windows 10, visual studio 2010 and
>> visual studio 2017
>>
>> Le mer. 25 mars 2020, à 12 h 39, Eric Fahlgren <ericfahlgren at gmail.com>
>> a écrit :
>>
>>> I've never heard there was an issue, I do --jobs=N (N = number of
>>> threads available, 16, 24, 32) every day all the time and never have had
>>> any problems.  Win 10 Pro 64, MSVC 14.1 using x64 compiler and linker.
>>>
>>> On Wed, Mar 25, 2020 at 9:22 AM Damien <damien at khubla.com> wrote:
>>>
>>>> This comes up every now and then. Has anyone managed to get parallel
>>>> builds to link correctly on Windows, with Visual Studio?
>>>>
>>>> Damien
>>>> _______________________________________________
>>>> Scons-users mailing list
>>>> Scons-users at scons.org
>>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>>
>>> _______________________________________________
>>> Scons-users mailing list
>>> Scons-users at scons.org
>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>
> _______________________________________________
> Scons-users mailing listScons-users at scons.orghttps://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>


-- 
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20200325/610546cc/attachment.html>


More information about the Scons-users mailing list