NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/54456: Building in a directory whose name contains "-j" may fail



The following reply was made to PR misc/54456; it has been noted by GNATS.

From: Andreas Gustafsson <gson%gson.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: misc/54456: Building in a directory whose name contains "-j" may fail
Date: Sun, 11 Aug 2019 14:45:41 +0300

 Looks like the line setting GMAKE_J_ARGS was moved to Makefile.gnuhost
 from Makefile.gmakehost, where it was initially committed in revision
 1.3 and revised in 1.4:
 
 ----------------------------
 revision 1.4
 date: 2008-07-07 13:57:03 +0300;  author: apb;  state: Exp;  lines: +2 -2;
 Verify that MAKEFLAGS contains "-j" before trying to manipulate it
 with :C///.
 ----------------------------
 revision 1.3
 date: 2008-07-07 08:43:56 +0300;  author: mrg;  state: Exp;  lines: +4 -2;
 pass the "-j" flag down to gmake.   you can force -j option to
 gmake by setting GMAKE_J_ARGS=-jN.
 
 
 discussed with matt@ and a few others.
 
 XXX: this is kind of hacky, as it will fork off more processes than
 XXX: "-jN" says to, but there's no real way to get parallelism in
 XXX: both the tools/gcc build and the rest of the build without
 XXX: this.
 ----------------------------
 
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index