[Scons-users] How to schedule long actions earlier in the compile phase

Bill Deegan bill at baddogconsulting.com
Wed Sep 15 13:18:37 EDT 2021


Don,

Not trivially.
Do these actions produce files used by other actions?

SCons doesn't really allow specifying order, Only dependencies.

Do these long actions depend on files generated by other builders?

-Bill

On Tue, Sep 14, 2021 at 8:26 PM Don Baldwin <donb at qti.qualcomm.com> wrote:

> Hi,
>
>
>
> In our build, we have some particularly long actions that take about 10
> minutes to complete.  If these get scheduled early during the compile phase
> of the build, there is no problem, but if they get scheduled later, then
> they become a long pole in the build, and keep running after everything
> else is complete.  This is causing some builds to take up to 5 minutes
> longer than others.
>
>
>
> Is there a way to force SCons to run some actions before others as soon as
> they become available?  Maybe something like a priority queue?
>
>
>
> Thanks,
>
> Don Baldwin
> _______________________________________________
> 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/20210915/e43fb365/attachment.htm>


More information about the Scons-users mailing list