LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   using multiple cores when installing via sbopkg (http://www.linuxquestions.org/questions/slackware-14/using-multiple-cores-when-installing-via-sbopkg-904626/)

Cultist 09-23-2011 10:41 AM

using multiple cores when installing via sbopkg
 
Is there a way to utilize all four cores of a quad core processor when compiling via sbopkg? I know there's flag that can be set in the slackbuild (can't remember what exactly), but is there anything that can be done to add this to sbopkg? I'm not seeing it

ponce 09-23-2011 10:47 AM

I usually add an
Code:

export MAKEOPTS="-j4"
to /etc/sbopkg/sbopkg.conf: it should work with slackbuilds using make to compile, assuming they support parallel builds.
in rare cases they don't, but in these situations you can pass as an extra parameter for those slackbuilds (in the queue or the command line, using the syntax specified in the man page) the MAKEOPTS="-j1" variable that should override the one in sbopkg.conf.


All times are GMT -5. The time now is 02:15 AM.