.NOTPARALLEL

Richard Henderson rth@redhat.com
Mon Mar 11 17:14:00 GMT 2002


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:
  



More information about the Binutils mailing list