Date: Thu, 22 Jul 1999 00:40:02 -0700 (PDT) From: Bob Bishop <rb@gid.co.uk> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/10985: make .NOTPARALLEL special target is broken[PATCH] Message-ID: <199907220740.AAA79854@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/10985; it has been noted by GNATS. From: Bob Bishop <rb@gid.co.uk> To: Tim Vanderhoek <vanderh@ecf.utoronto.ca> Cc: Subject: Re: bin/10985: make .NOTPARALLEL special target is broken[PATCH] Date: Tue, 13 Jul 1999 17:50:32 -0400 Hi, >I'm really not sure this is even a bug. It seems to me that >.NOTPARALLEL should only apply to the current invocation of make. Could be, although if that's the case the man page should be improved. >[...] >Now, suppose that all the makefiles here are technically -j safe. >However, if I use -j3 on the top makefile, I will _effectively_ be >using -j9, since the -j3 will propogate three times to each submake. >To solve this problem, I need to add .NOTPARALLEL to the top-level >makefile. Hmm. That could be viewed as a bug, but (a) I'm not sure it's really a problem, and (b) it's hard to see how to fix it, except (trivially) by not passing down -jx if multiple jobs have been started at the current level. >I think that what you are trying to accomplish with the patch in this >PR can already be done in my. Try using this, > > >.MAKEFLAGS: -B > >Or, more correctly, you should probably be using this, > >.MAKEFLAGS: -j1 Those work, in their different ways, but they hit the current make as well as submakes. In the latter case, you get -jx -j1 passed down, which isn't very elegant. -- Bob Bishop (0118) 977 4017 international code +44 118 rb@gid.co.uk fax (0118) 989 4254 between 0800 and 1800 UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907220740.AAA79854>