>
> I'm not trying to push this on anyone, I'm only saying that I can
> help if the community sees this as a direction we may go towards one
> day. Many others including Dan, Tushar, et. al. may be willing to
> assist or contribute as well.
>
> Thoughts from others?
>
If at all possible while modifying the scripts, can support for parallel
compiles be added? I've got the list of LFS 6.2 packages that support parallel
builds. I don't have all of BLFS, but the ~10 packages I need from it also.
Generally it's trivially simple to add in virtually every case I added
${PARALLEL_BUILD} to a make commandline. So export PARALLEL_BUILD just like
LFS is prior to kicking off the build. You set PARALLEL_BUILD to something
like "-j 2", or "-l 4" or whatever is a satisfactory value.
Generally I computed the number of CPU's via /proc and set it to -j
2*${CPU_COUNT}. On an 8 CPU box, it was a factor of 3-4 speed up pretty
handily. If X.org 6.9 could be built in parallel, that'd be 4-5 times as fast.
I'm sure on a 2-4 CPU machine it'd be well worth it also, the 8CPU machine
runs out of disk before it runs out of CPU.
It's much faster on a machine with enough CPU's and RAM. I can see the
annoyance of having to describe ${PARALLEL_BUILD} every time as an argument in
the book, but for folks who build it regularly on a big box, it'd be helpful.
I've built all of LFS via scripts that use DESTDIR (I don't package them into
tarballs, but instead install into a chroot), and would be willing to help out
with the bits of expertise I do have.
Thanks,
Kirby
> --
> Randy
>
> rmlscsi: [bogomips 1003.22] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
> [GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
> 09:35:00 up 43 days, 23 min, 1 user, load average: 0.09, 0.11, 0.09
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-dev
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
_________________________________________________________________
How well do you know your celebrity gossip?
http://originals.msn.com/thebigdebate?ocid=T002MSN03N0707A
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page