This is the mail archive of the gcc-bugs@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.


> Date: Wed, 6 Sep 2000 08:51:41 -0700
> From: "H . J . Lu" <hjl@lucon.org>

> It won't work with any parallel build since "make -j 4 bootstrap-lean"
> will start stage_a, stage_b, stage_c and stage_d at the same time. Do
> I have any hope for parallel build in gcc?

If the maintainers would insist that any change to any makefile or
fragment there of, would be tested by a clean make -j4 bootstrap, we
could solve most of the problem.  They obviously don't do that.
Please consider not allowing Make changes from people that aren't
known to be parallel make people, without such testing.

Bear in mind, the wall clock time to build is reduced on a
uniprocessor machine, by using -j3, on most machines, unless you have
16Megs of swap or 16M ram.  I suspect for most people that isn't true
any more.  On my Sun, -j5 is the fastest way to build, I have just one
processor.  If you aren't using at least -j3, I suspect you are just
wasting time waiting for builds.  :-)

For best results, be sure to build with GNu make-3.79.

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