Re: SCons working with Ninja

Don Baldwin <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <BY5PR02MB61314FDEDEF7B1C869ACB8F2F54E9@BY5PR02MB6131.namprd02.prod.outlook.com>
Thanks Mats.  Will this be implemented in SCons 3.x as well as 4.x?  We are planning on moving to 4.x fairly soon, but we aren't there yet, and will probably not move our older projects to 4.x.  Also, do you have an ETA of when this will be available?

Also, what about existing tools that claim to support generating Ninja scripts from SCons builds, such as:

   * https://github.com/RedBeard0531/mongo_module_ninja

Does anyone in this group know if that supports function actions?

Lastly, we've been able to implement our own home-grown tools for doing a build "play-back" similar to what Ninja does, but we've only gotten it to work for command line actions.  I think the main hurdle for function actions is reproducing the SCons environment.  We've tried pickling it using both the native pickle library and 'dill', but have encountered infinite loop errors and errors trying to pickle class objects.  Has anyone else attempted this and gotten past these errors?  This is using SCons 3.1.2.

Thanks,
Don

-----Original Message-----
From: Mats Wichmann <[email protected]> 
Sent: Wednesday, April 14, 2021 12:25 PM
To: SCons users mailing list <[email protected]>; Don Baldwin <[email protected]>
Subject: [EXT] Re: [Scons-users] SCons working with Ninja

On 4/14/21 1:13 PM, Don Baldwin wrote:
> Hi,
> 
> Are there any recommended tools for generating Ninja scripts from 
> SCons that can handle SCons python function actions?

early-access Ninja support is coming shortly - the project will definitely be looking for feedback on what works, what's still needed, etc.
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.