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

Notices

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

Rep: Reputation: 101Reputation: 101
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
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,447

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

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


Reply


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 01:12 PM.

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