On 06/14/2014 10:52 PM, Dan McGhee wrote:
I need to check my understanding and maybe gain new knowledge about building.From the book or list I remember a caution that some packages don't build well with parallel building. In the books, I seem to remember in the instructions some words about this--to make sure the build went OK.Now that I've enabled the whole capability of my CPU--quad core--I think I need to be aware of this situation. When building is it the "-j" option of <make> that controls this? The make man page says that "-j" controls the number of "jobs" that can occur simultaneously. I think I know that hyperthreading is not parallel building. This seems like it could come under the control of "-j" also. Could someone clarify this for me or point me to a document that discusses the situation?During my last LFS build, 7.4, I discovered that "-j" was set to 8 somehow. Is this an environment variable. I don't remember what I did to find this.This concept and "-j" have now become important to me and I'd like to learn some more before I start.Thanks, Dan
-j works for all LFS packages
MKFLAGS="-j $(getconf _NPROCESSORS_ONLN)"
make ${MKFLAGS}
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
