[Scons-users] managing dependencies

Arvid Rosén arvid at softube.com
Mon Dec 9 02:38:28 EST 2019


Maybe, but I certainly wouldn’t rely on that.

We do very massive builds with hundreds of targets in parallel. To avoid all targets finishing almost at the same time (competing with each other for the same limited resources), we add “fake” dependencies so to schedule the builds so that only a couple of targets can be worked on at the same time, but still 20 threads or so can be used. This is very easy to do in SCons.


From: Scons-users <scons-users-bounces at scons.org> on behalf of daggs <daggs at gmx.com>
Reply to: SCons users mailing list <scons-users at scons.org>
Date: Monday, 9 December 2019 at 08:06
To: "scons-users at scons.org" <scons-users at scons.org>
Cc: SCons users mailing list <scons-users at scons.org>
Subject: Re: [Scons-users] managing dependencies


does the order of dependecy declaration affects the order?


Sent: Monday, December 09, 2019 at 1:06 AM
From: "Bill Deegan" <bill at baddogconsulting.com>
To: "SCons users mailing list" <scons-users at scons.org>
Subject: Re: [Scons-users] managing dependencies
You specify the dependencies, SCons figures out the order.
If you need one thing to happen before another then that's a dependency you must explicitly list.


On Sun, Dec 8, 2019 at 4:49 AM daggs <daggs at gmx.com<mailto:daggs at gmx.com>> wrote:

I wanted to ask about scons dependencies management, I have a target with large number of dependencies, all the dependencies don't have dependencies of their own.
some of the dependencies take more time to generate than the other ones.
I've noticed that not all the dependencies are handled at the start (I have a print at the start of each dependency handling).
is it possible to instruct scons to give an higher priority to a specific dependency?


Scons-users mailing list
Scons-users at scons.org<mailto:Scons-users at scons.org>
_______________________________________________ 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/20191209/2ee7feaa/attachment-0001.html>

More information about the Scons-users mailing list