3 messages in com.perforce.jamming[jamming] [BUG] jam 2.5rc3 and parall...
FromSent OnAttachments
Matt Armstrong21 Nov 2003 10:18 
Matt Armstrong24 Nov 2003 09:07 
Chris Antos25 Nov 2003 11:27 
Subject:[jamming] [BUG] jam 2.5rc3 and parallel builds
From:Matt Armstrong (ma@lickey.com)
Date:11/21/2003 10:18:01 AM
List:com.perforce.jamming

I've found and isolated a bug with parallel builds (-j<n>) and jam 2.5rc3.

A small source tree that exhibits the bug is at //guest/matt_armstrong/jam/bug/1/...

A .h file is generated at run time. It gets into the dependency tree via normal header scanning.

With -j1 builds, the generated.h file is built first and everything is fine. With -j2 or higher, the generated.h file is built first, but other .c files that #include it get built in parallel and fail.

I haven't been able to decipher make1[abcd] well enough to figure out what is going on or develop a fix. I have discovered no workaround either (e.g. making 'first' depend on generated.h doesn't seem to help).