[Scons-users] clean vs build

Mats Wichmann mats at wichmann.us
Sun Jul 23 17:57:47 EDT 2017


On 07/23/2017 02:01 PM, Hua Yanghao wrote:
> Looks like I am not alone :-)
> See my issue here:
> https://pairlist4.pair.net/pipermail/scons-users/2017-July/006094.html
> 
> It looks like scons is over-checking something and if you are using
> 2.5.1 you can follow the below commit to fix it (it works for me and
> only breaks the scons cyclic dependency regression test):
> commit e5e526de419fd0f61fa93d4a2f84a2c226de618d
> Author: Hua Yanghao <yanghao.hua at intel.com>
> Date:   Sat Jul 22 21:25:14 2017 +0200
> 
>     tools/scons-local-2.5.1/SCons/Taskmaster.py: fix parallel build error
> 
> diff --git a/tools/scons-local-2.5.1/SCons/Taskmaster.py
> b/tools/scons-local-2.5.1/SCons/Taskmaster.py
> index 90306b5..50a46a5 100644
> --- a/tools/scons-local-2.5.1/SCons/Taskmaster.py
> +++ b/tools/scons-local-2.5.1/SCons/Taskmaster.py
> @@ -1030,7 +1030,7 @@ class Taskmaster(object):
>              # All of the "cycles" found were single nodes in EXECUTED state,
>              # which is to say, they really weren't cycles.  Just return.
>              return
> -
> +        return
>          desc = 'Found dependency cycle(s):\n'
>          for node, cycle in nclist:
>              if cycle:

yes, I can proceed with that change, not surprisingly since it seems to
just be "ignore even if you found something".




More information about the Scons-users mailing list