On Oct 6, 2013, at 4:04 AM, Pierre Labastie wrote: >> I have looked at the CLFS book kayout, and not seen any usable tag. >> In LFS, >> there is this "remap" attribute. >> Anyway, one could add to command generation (scripts.xsl) something >> like >> <xsl:if test="contains(string(),'make') and >> contains(string(),'install')"> >> <xsl:value-of select="substring-before(string(),'make')"/> >> <xsl:text>make -j1</xsl:text> >> <xsl:value-of select="substring-after(string(),'make')"/> >> </xsl:if> >> This would change any "blah make bleh install" command into >> "blah make -j1 bleh install". Actually, if it happens that you have >> <userinput>make blih make bleh install</userinput> >> >> then only the first make would be changed to make -j1. But I think >> that >> construct would be unlikely > > Committed (with slight modifications) at r3734. Testers welcome... > > Regards > Pierre
Hello Pierre, I'm doing another test build with my dual P3 and added some optimization configs in opt_config.d and added some packages in override. Using graphite optimizations from our graphite toolchain in CLFS, and put some packages in opt_override which graphite is of a problem. I checked the extracted commands and it definitely changed anything with make and install to make -j1. It also did that for kernel modules and firmware, bootscripts and eglibc install-locales which all is not a problem. It is great. Thank you for the edit. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/alfs-discuss FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page