Craig McPheeters' JAM_SEMAPHORE
2011-05-19 21:21:43 GMT
Has anyone ever tried using this? I have a number of targets that are just tarfile extractions. When I run the build -jN, I get N number of extractions happening at the same time. Which would be fine, if tar didn't sometimes error out with a "No such file or directory" (which doesn't make any sense, since the directory certainly exists, and the file will exist once tar extracts it). So I thought I'd give Craig's semaphore stuff a try, see if I could get Jam to serialize these targets so only one tar happens at a time. But I still get N number of tars happening at the same time. So either I'm not using it right, or it doesn't actually work the way I'd hoped it would.
Here's Craig's original mail about it: http://maillist.perforce.com/pipermail/jamming/2002-April/000927.html
As mentioned in there, I added a:
JAM_SEMAPHORE on $(target) = nodeName ;
but I don't see it having any affect on anything.
Thanks,
Diane
_______________________________________________ jamming mailing list - jamming <at> maillist.perforce.com http://maillist.perforce.com/mailman/listinfo/jamming
RSS Feed