> > Build description = STABLE on sparc-sun-solaris2 (doozer)
> > 
> > **** Building stage 3 compiler    ... failed; relevant 
> barfage is below.
> >
> > mv libHShaskell98.a.tmp libHShaskell98.a
> > mv: cannot access libHShaskell98.a.tmp
> 
> I think the probable reason for this breakage is because the nightly
> build took 31 hours - so the next day's build had already begun well
> before this one finished, causing some conflicts of file ownership.
> 
> Are there any suggestions for reducing the total build time?
> Ideally I'd like it to take less than 18 hours (since I have a
> nightly build of nhc98 and hat on the same machine taking 6 hours),
> but anything up to 24 would be acceptable.

Things that speed up a build are:

  - use the native code generator (-fasm).  We usually turn
    this off in stage 3 for the extra 2% performance, though.

  - make sure SPLIT_OBJS is off except for stage 3.

  - turning off -DDEBUG and -dcore-lint will net some speed

  - make sure the profiling libs are only built in stage 3

Turning off -O is false economy, because building the libraries and the
following stage will take twice as long.

If all else fails, you can do two stages instead of three: just set
omit_stage3=YES, and rearrange the options so that stage 2 is your
"build everything with maximum performance" build.

Cheers,
        Simon

_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to