This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Parallel build on SMP is even more broken.


On Wed, Sep 06, 2000 at 03:08:00PM -0300, Alexandre Oliva wrote:
> On Sep  6, 2000, "H . J . Lu" <hjl@lucon.org> wrote:
> 
> > 	* Makefile.in (stage_b): Depend on stage_a.
> > 	(stage_c): Depend on stage_b.
> > 	(stage_d): Depend on stage_c.
> > 	(stage_e): Depend on stage_d.
> > 	(stage_f): Depend on stage_e.
> 
> Ok

A version of it is checked in.

> 
> > 	(bootstrap-lean_c): Remove clean_s1.
> > 	(bootstrap-lean_f): Remove clean_s2.
> > 	(bootstrap2-lean_e): Likewise.
> 
> But I'd prefer to have clean_s[12] depend on the corresponding stage_?.
> 

Here is the new patch.


----
2000-09-06  H.J. Lu  (hjl@gnu.org)

	* Makefile.in (clean_s1): Depend on stage_b.
	(clean_s2): Depend on stage_d. Don't remove $(VOL_FILES) in
	stage2. They are used for "make compare".

--- gcc/Makefile.in.parallel	Wed Sep  6 13:40:27 2000
+++ gcc/Makefile.in	Wed Sep  6 13:41:13 2000
@@ -2805,13 +2805,12 @@ stage_f: stage_e
 	touch stage_f
 
 # Additional steps for *-lean targets:
-clean_s1:
+clean_s1: stage_b
 	-cd stage1; rm -f $(VOL_FILES)
 	touch clean_s1
 
-clean_s2:
+clean_s2: stage_d
 	-rm -rf stage1
-	-cd stage2; rm -f $(VOL_FILES)
 	touch clean_s2
 
 # This next little bit is the way it is for parallel builds.  It's simply

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]