-   Slackware (
-   -   using multiple cores when installing via sbopkg (

Cultist 09-23-2011 11: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 11:47 AM

I usually add an

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 09:12 AM.