[Scons-users] Parallel build on SCons!

Akumalla Arjuman Banu akumallaarjuman at tataelxsi.co.in
Tue Aug 27 08:49:20 EDT 2019


In my SConstruct file, how to specity different builds?


Arjuman Banu

Engineer | MEBU


From: Scons-users <scons-users-bounces at scons.org> on behalf of Mats Wichmann <mats at wichmann.us>
Sent: Tuesday, August 27, 2019 6:16 PM
To: scons-users at scons.org <scons-users at scons.org>
Subject: Re: [Scons-users] Parallel build on SCons!

 **This is an external email. Please check the sender’s full email address (not just the sender name) and exercise caution before you respond or click any embedded link/attachment.**

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
Scons-users at scons.org
Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient of this message , or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Email transmission cannot be guaranteed to be secure or error-free, as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender, therefore, does not accept liability for any errors, omissions or contaminations in the contents of this message which might have occurred as a result of email transmission. If verification is required, please request for a hard-copy version.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20190827/9b6a4be0/attachment-0001.html>

More information about the Scons-users mailing list