public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* .NOTPARALLEL
@ 2002-03-11 17:14 Richard Henderson
  2002-03-11 17:45 ` .NOTPARALLEL Hans-Peter Nilsson
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Henderson @ 2002-03-11 17:14 UTC (permalink / raw)
  To: gcc-patches, binutils

As described in the patch, the toplevel change is to encourage
make to not split its effort across different subdirectories,
which can (fractionally) help parallel compilation speed.

The Ada change is due to missing dependencies.  There was talk
of a scheme to auto-generate them from source, but nothing ever
happened.  In the meantime, this allows a parallel build to not fail.

Applied to gcc and src repositories.


r~

        * Makefile.in (.NOTPARALLEL): Add fake tag.
        * gcc/ada/Makefile.in (.NOTPARALLEL): Add fake tag.

Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/Makefile.in,v
retrieving revision 1.93
retrieving revision 1.94
diff -c -p -d -r1.93 -r1.94
*** Makefile.in	2002/02/23 10:06:59	1.93
--- Makefile.in	2002/03/12 00:48:36	1.94
***************
*** 18,23 ****
--- 18,28 ----
  # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  #
  
+ # Tell GNU make 2.79 not to run the top level in parallel.  This 
+ # prevents contention for $builddir/$target/config.cache, as well
+ # as minimizing scatter in file system caches.
+ .NOTPARALLEL:
+ 
  srcdir = .
  
  prefix = /usr/local
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/Makefile.in,v
retrieving revision 1.22
retrieving revision 1.23
diff -c -p -d -r1.22 -r1.23
*** Makefile.in	2002/03/08 20:10:30	1.22
--- Makefile.in	2002/03/12 00:48:36	1.23
***************
*** 57,62 ****
--- 57,66 ----
  #      FLEX:    Gnu flex works.
  #      Other miscellaneous tools for obscure targets.
  
+ # Tell GNU make 2.79 not to run this directory in parallel.
+ # Not all of the required dependencies are present.
+ .NOTPARALLEL:
+ 
  # Suppress smart makes who think they know how to automake Yacc files
  .y.c:
  

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: .NOTPARALLEL
  2002-03-11 17:14 .NOTPARALLEL Richard Henderson
@ 2002-03-11 17:45 ` Hans-Peter Nilsson
  0 siblings, 0 replies; 2+ messages in thread
From: Hans-Peter Nilsson @ 2002-03-11 17:45 UTC (permalink / raw)
  To: Richard Henderson; +Cc: gcc-patches, binutils

On Mon, 11 Mar 2002, Richard Henderson wrote:
> + # Tell GNU make 2.79 not to run the top level in parallel.  This

Shouldn't that be *3*.79?

> RCS file: /cvs/gcc/gcc/gcc/ada/Makefile.in,v

too.

brgds, H-P

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-12  1:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-11 17:14 .NOTPARALLEL Richard Henderson
2002-03-11 17:45 ` .NOTPARALLEL Hans-Peter Nilsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).