Hi there,
On 30.10.2014 16:01, Ben Golding wrote:
Thanks Gary.
http://scons.tigris.org/issues/show_bug.cgi?id=2982
I started to add some additional trace to Taskmaster.py, and compare the logs
from sequential vs. parallel builds.
The bug seems to relate to how the node states are used for the side-effect
nodes:
- In executed_with_callbacks(), the side-effect state is set to NODE_NO_STATE.
- In postprocess(), the logic to decrement the parent ref count is only active
for a side-effect node with state NODE_EXECUTING.
Although this helped me to understand the bug a bit better, I'm not sure what
is the correct fix.
I don't think there is anything to fix here...and it's no bug for me
either. Please read the man page for the definition
of a SideEffect, and when it should be used. My understanding is, that
in your case the conditions do not apply...so you should rather define
an Emitter (see http://www.scons.org/wiki/ToolsForFools for example)
that adds "sf0" and "sf1" to the list of targets.
Then the Install() should work as expected.
Just my 2 cents.
Best regards,
Dirk
_______________________________________________
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev