[Scons-dev] Likely bug - installing side effect files

Ben Golding Ben.Golding at synopsys.com
Thu Oct 30 09:34:52 EDT 2014


Minimal reproducer:

  tgt = Command('tgt', 'src', 'touch $TARGET sf0 sf1')
  sf = SideEffect([ 'sf0', 'sf1' ], tgt)
  Install('dir', tgt + sf)

Running the above with 'scons -j1 -Q' works correctly.
When using -j2 (or greater), the file 'sf1' is created, but not copied to 'dir/sf1'.

Any suggestions for a fix or workaround would be really useful.
I tried adding

  Depends('dir', sf[1])

but this only causes the issue to move to 'dir/sf0' instead.

RHEL 5.7 x64 / python 2.7.2 / scons 2.3.4

Regards
Ben Golding


More information about the Scons-dev mailing list