[Scons-users] Parallel build on SCons!

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


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?


Regards,

Banu

Engineer | MEBU

TATA ELXSI

________________________________
From: Akumalla Arjuman Banu
Sent: Tuesday, August 6, 2019 10:38 AM
To: scons-users at scons.org <scons-users at scons.org>
Subject: Link between CCES & SCons


Hi,

I have recently installed SCons, I need to know a way to link SCons with CCES(cross core embedded studio).
I have given the path of CCES file(.c and .h files) and saved that file name in SConstruct. Is this the correct way?? Or is there any other way?

This is my code:
path= [r'C:\Users\akumallaarjuman\cces\2.8.1\new_test_Core1\src\new_test_Core1.c']
env = Environment(ENV = {'PATH' : path})
env = Environment(CPPPATH="inc")

Here, the building is done. But, the build is done for the above script which I have written, not on the path which I have mentioned.

How to link CCES tool with SCons?

CCES itself is a tool which performs build, debug and generates a dxe file and object file. But I want to use SCons, to build the c code which is in CCES through command prompt.

   Can you please guide me through?


Regards,


Arjuman Banu

Engineer | MEBU

TATA ELXSI

________________________________
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/2f7df354/attachment.html>


More information about the Scons-users mailing list