On Wed, 07 Jul 2010 13:31:32 +0100
Andrew Benton <[email protected]> wrote:

> On 07/07/10 12:10, littlebat wrote:
> > So, I need some accurate answers:
> > 1, Can we build LFS with parallel compiling through the book?
> Yes. A few packages won't build in parallel (openssl) and some
> packages sometimes fail to compile with a parallel build (xmlto) but
> pretty much everything else is fine with make -j$NUMBER
> > 2, Can we build Chapter 5 with parallel compiling but do not use
> > parallel compiling in the rest Chapters (includes Chapter 6 and
> > Chapter 8)?
> I use make -j4 all the time. Doesn't give me any problems. I've had
> some problems in the past with "make -j4 install" not installing all
> of glibc's files so I now avoid installing in parallel. "make
> install" is mostly limited by disc input/output so I see no benefit
> in "make -j4 install". Consequently I don't set MAKEFLAGS as it risks
> breaking "make install" for little benefit.

Maybe I am lucky:-), I set MAKEFLAGS='-j 2' on my E7400 double cores
CPU, no any exception appeared until I finished all the packages in
Chapter 5. But, I think this should depends on the quality of the
package itself. Maybe, after the next release of a package, it will
refuse to do a parallel make or parallel make install just like you have
experienced.

--
littlebat
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to