Re: managing dependencies

daggs <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <trinity-4f7c2b8b-3f7f-4425-abf1-e8cca29ba6b1-1575878679868@3c-app-mailcom-bs13>
Greetings,

something like for all short deps, depend them on a file which I can use touch to create?

will the same file for all of them do the job?

Thank,

Dagg.

Sent: Monday, December 09, 2019 at 9:38 AM

From: "Arvid Rosén" <[email protected]>

To: "SCons users mailing list" <[email protected]>

Subject: Re: [Scons-users] managing dependencies

Hi,

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.

Cheers,

Arvid

From: Scons-users <[email protected]> on behalf of daggs <[email protected]>

Reply to: SCons users mailing list <[email protected]>

Date: Monday, 9 December 2019 at 08:06

To: "[email protected]" <[email protected]>

Cc: SCons users mailing list <[email protected]>

Subject: Re: [Scons-users] managing dependencies

Greetings,

does the order of dependecy declaration affects the order?

Dagg.

Sent: Monday, December 09, 2019 at 1:06 AM

From: "Bill Deegan" <[email protected]>

To: "SCons users mailing list" <[email protected]>

Subject: Re: [Scons-users] managing dependencies

Nope.

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.

-Bill

On Sun, Dec 8, 2019 at 4:49 AM daggs <[email protected] > wrote:

Greetings,

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?

Thanks,

Dagg.

_______________________________________________

Scons-users mailing list

[email protected]

https://pairlist4.pair.net/mailman/listinfo/scons-users

_______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users

_______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users

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