From owner-freebsd-bugs Thu Jul 22 0:42:25 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9A86014EE3 for ; Thu, 22 Jul 1999 00:42:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id AAA79854; Thu, 22 Jul 1999 00:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Thu, 22 Jul 1999 00:40:02 -0700 (PDT) Message-Id: <199907220740.AAA79854@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bob Bishop Subject: Re: bin/10985: make .NOTPARALLEL special target is broken[PATCH] Reply-To: Bob Bishop Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/10985; it has been noted by GNATS. From: Bob Bishop To: Tim Vanderhoek 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