Re: Parallel build on SCons!

Akumalla Arjuman Banu via Scons-users <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <TY2PR04MB3534B8726B7F68F59E330FF6E6A00@TY2PR04MB3534.apcprd04.prod.outlook.com>
Hi,

In my SConstruct file, how to specity different builds?


Regards,


Arjuman Banu

Engineer | MEBU

TATA ELXSI

________________________________
From: Scons-users <[email protected]> on behalf of Mats Wichmann <[email protected]>
Sent: Tuesday, August 27, 2019 6:16 PM
To: [email protected] <[email protected]>
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
[email protected]
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&amp;data=02%7C01%7Cakumallaarjuman%40tataelxsi.co.in%7Cee18a22305044486aa9208d72aec98db%7Cad6a39dd96b6436882daf2ec4d92e26a%7C0%7C1%7C637025068002286091&amp;sdata=Ff7QUATwyzZsQqPidNRm95bDnoMJ5VOVL7NlBxmaRkE%3D&amp;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.
________________________________

_______________________________________________
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.