Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 1999 15:44:32 +0000
From:      Bob Bishop <rb@gid.co.uk>
To:        Luoqi Chen <luoqi@watermarkgroup.com>
Cc:        cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, obrien@FreeBSD.ORG
Subject:   Re:  cvs commit: src/gnu/usr.bin/cc/cc_tools Makefile
Message-ID:  <l0302093bb3327eb615c5@[194.32.164.2]>
In-Reply-To: <199904081334.JAA03291@lor.watermarkgroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This seems to do the job here with -j8 on SMP.

At 9:34 am -0400 8/4/99, Luoqi Chen wrote:
>> obrien      1999/04/08 05:26:07 PDT
>>
>>   Modified files:
>>     gnu/usr.bin/cc/cc_tools Makefile
>>   Log:
>>   Remove some of the dependencies.  This removes the cycles I was getting on
>>   `make -j 8' builds.
>>
>>   Revision  Changes    Path
>>   1.22      +4 -2      src/gnu/usr.bin/cc/cc_tools/Makefile
>>
>>
>With this make -j still fails. Please try this one (diff against rev. 1.21),
>it worked for me:
>
>
>Index: Makefile
>===================================================================
>RCS file: /home/ncvs/src/gnu/usr.bin/cc/cc_tools/Makefile,v
>retrieving revision 1.21
>diff -u -r1.21 Makefile
>--- Makefile	1999/04/08 09:57:51	1.21
>+++ Makefile	1999/04/08 13:22:03
>@@ -58,6 +58,7 @@
> 	./gengenrtl genrtl.h genrtl.c
>
> GENSRCS+=	genrtl.c genrtl.h
>+CLEANFILES+=	genrtl.c genrtl.h
>
> .for i in attrtab
> build-tools: gen$i
>@@ -94,11 +95,12 @@
> tree-check.h: gencheck
> 	./gencheck > ${.TARGET}
>
>+##GENSRCS+=	tree-check.h
> CLEANFILES+=	tree-check.h
>
> #-----------------------------------------------------------------------
> # C parser
>-.ORDER: c-parse.c c-parse.h
>+#.ORDER: c-parse.c c-parse.h
> c-parse.c c-parse.h: c-parse.in
> 	sed -e "/^ifobjc$$/,/^end ifobjc$$/d" \
> 	    -e "/^ifc$$/d" -e "/^end ifc$$/d" \
>@@ -111,7 +113,7 @@
>
> #-----------------------------------------------------------------------
> # objc parser
>-.ORDER: objc-parse.c objc-parse.h
>+#.ORDER: objc-parse.c objc-parse.h
> objc-parse.c objc-parse.h: c-parse.in
> 	sed -e "/^ifc$$/,/^end ifc$$/d" \
> 	    -e "/^ifobjc$$/d" -e "/^end ifobjc$$/d" \
>@@ -186,7 +188,7 @@
> # would do if we defined PROG, except for leaving out dependencies on
> # insn-*.h because these dependencies would be circular.
> #
>-${OBJS}: ${SRCS:M*.h:Ninsn-*.h:Ngenrtl.h}
>+${OBJS:Ngengenrtl.o}: ${SRCS:M*.h:Ninsn-*.h}
>
> # Give all dependencies on insn-*.h explicitly
> # This suffices for `make -j<any> depend', and after that all
>@@ -200,5 +202,5 @@
> insn-output.o: insn-attr.h insn-codes.h insn-config.h insn-flags.h
> insn-recog.o: insn-config.h
>
>-genattr.o gencodes.o genconfig.o genemit.o genextract.o genflags.o
>genopinit.o genoutput.o genpeep.o genrecog.o: genrtl.h
>+#genattr.o gencodes.o genconfig.o genemit.o genextract.o genflags.o
>genopinit.o genoutput.o genpeep.o genrecog.o: genrtl.h
> .endif
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe cvs-all" in the body of the message



--
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 cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l0302093bb3327eb615c5>