Re: Parallel build on SCons!

Mats Wichmann <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
On 8/27/19 6:39 AM, Akumalla Arjuman Banu via Scons-users wrote:
> Hi,
> 
> How to perform parallel build mechanism in scons?
> I have gone through "scons -j 2" command to perform build operation.
> what should be on my "SConstruct"?
> Do I need to use multithreading in python for parallel processing?


You don't need to do anything except the -j N

scons will gather all the information as before and compute the work to
be done, and when it's time to do builds the job dispatcher will launch
threads up to the number you specified to do those. you won't get an
N-times speedup; sometimes something has to wait for something else
before it can be launched.


_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.