Ken Moffat wrote:
I see that we install with:
MOZ_MAKE_FLAGS='-j<number>' \
make -f client.mk install INSTALL_SDK=
For the build, if MOZ_MAKE_FLAGS are not set, it will use the
available number of processors and the switch seems fine. But for
the install, it appears to me that it does not do that, and in any
case most of the install is single-threaded stuff (some python, then
tar). Doing repeated DESTDIR installs, the first obviously takes
longer (36s, nothing in buffer cache), but after that the difference
between -j4 and -j1 was <15 and <20 seconds. To me, that seems a
wasted line in the book, but then I do not generally like to run
more than -j1 during installs, things have broken too often in the
distant past.
But rather than just impose my views, I'll ask first. Maybe I'm
missing something useful.
I agree with you . It doesn't make much sense to using the MOZ_MAKE_FLAGS
variable for the install phase. I'd say go ahead and remove it when you update
the book.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page