[Scons-users] Parallel build on SCons!

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


Hi,

In my SConstruct file, how to specity different builds?


Regards,


Arjuman Banu

Engineer | MEBU

TATA ELXSI

________________________________
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
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&data=02%7C01%7Cakumallaarjuman%40tataelxsi.co.in%7Cee18a22305044486aa9208d72aec98db%7Cad6a39dd96b6436882daf2ec4d92e26a%7C0%7C1%7C637025068002286091&sdata=Ff7QUATwyzZsQqPidNRm95bDnoMJ5VOVL7NlBxmaRkE%3D&reserved=0
________________________________
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