Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-23-2011, 10:41 AM   #1
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Rep: Reputation: 102Reputation: 102
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
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 09-23-2011, 10:47 AM   #2
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,787

Rep: Reputation: 1132Reputation: 1132Reputation: 1132Reputation: 1132Reputation: 1132Reputation: 1132Reputation: 1132Reputation: 1132Reputation: 1132
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.

Last edited by ponce; 09-23-2011 at 11:50 AM.
4 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How does software know how to use Multiple CPU and Cores Ronayn Linux - Software 4 12-20-2010 05:36 AM
Alias make to automatically use multiple cores? damgar Linux - Software 10 01-28-2010 02:37 PM
How does the kernel handle multiple cpus/cores? riddler313 Linux - General 4 06-18-2009 08:35 AM
configuring MYSQL 5.0.67 to use multiple cores (processors) nino_of_qubic Linux - Server 3 03-31-2009 11:29 PM
linux on multiple cores reslowgr Linux - Server 1 01-20-2007 03:35 PM

All times are GMT -5. The time now is 04:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration