[Scons-users] compiling external projects and jobs

Manuel naranjo.manuel at gmail.com
Thu Jun 23 07:25:02 EDT 2016


I know how to pass the amount of jobs to it, but then the Command builder
will consume N jobs instead of one and SCons will think it still has N-1
available starving the CPU. Maybe it's not possible and I need a Makefile
parser somehow and create generators and targets with it.

Thanks,

Manuel

El jue., 23 de jun. de 2016 05:58, Dirk Baechle <tshortik at gmx.de> escribió:

> Hi Manuel,
>
> I'm not sure that I understand your mail. Is your basic problem that you
> want to write a customized make/configure builder...but don't know how to
> pass special parameters to it? In this case you'd typically declare an
> environment variable...
>
> Best regards,
>
> Dirk
>
> Am 22. Juni 2016 21:48:10 MESZ, schrieb Manuel <naranjo.manuel at gmail.com>:
>
>> Guys,
>>
>> In the company I work for we compile multiple external projects, some of
>> this are based on cmake, others in qmake, etc. I'm thinking on adding
>> builders for them, so I can use SCons dependency tracking correctly.
>>
>> Problem is that I also want to enable parallel builds, and I can't forsee
>> a way to tell SCons builder X is going to use Y processes and not just 1. I
>> am missing something? I was thinking on parsing the makefile output of a
>> call like `make -B -n` but this would change project to project and doesn't
>> seem very efficient.
>>
>> I don't want SCons to track external projects inner dependencies, I just
>> want it to track that if my program A is to be linked against lib B and lib
>> B requires going through configure/make phase it should be ready before the
>> linking stage.
>>
>> -Manuel
>>
>> ------------------------------
>>
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>>
> --
> Sent from my Android with K-9 Mail.
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160623/4a8600bc/attachment.html>


More information about the Scons-users mailing list