LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-12-2014, 11:08 AM   #1
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
SBo + sbopkg, qt5 build parallel


hi,

just updating qt5 from and via sbo(pkg)
the build takes ages, very boring

is there a way via sbopkg to have a parallel build and configure the -j option?
or anything else to have more than one job
 
Old 10-12-2014, 11:21 AM   #2
fsLeg
Member
 
Registered: Dec 2013
Location: Russia, Moscow
Distribution: Slackware, EndeavourOS
Posts: 89

Rep: Reputation: Disabled
Code:
MAKEFLAGS="-j4" sbopkg -i qt5
Or you can edit the SlackBuild.
 
2 members found this post helpful.
Old 10-12-2014, 11:44 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
(as I'm lazy I'll cut and paste from one of my post on gplus)

on my work machine, as I use multiple jobs when I build packages, I've got this line in /etc/sbopkg/sbopkg.conf
Code:
  export MAKEFLAGS=${MAKEFLAGS:--j8}
or you can pass it also when invoking it
Code:
  sbopkg -i whatever:MAKEFLAGS=-j8
if not using sbopkg and doing a manual build
Code:
  MAKEFLAGS=-j8 ./whatever.SlackBuild
to find the available core/threads you can also use nproc
Code:
  MAKEFLAGS=-j$(nproc)
if re/building official Slackware stuff the default number of jobs is already 7 in most cases (so I don't feel like changing it to 8), but if I wish to change it
Code:
  NUMJOBS=-j8 ./whateverelse.SlackBuild

Last edited by ponce; 10-12-2014 at 11:46 AM.
 
8 members found this post helpful.
Old 10-12-2014, 11:54 AM   #4
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
thanks guys
 
  


Reply



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
SBOPKG(8) not list/show/build dependencies of SlackBuild scripts to build Slackware p xavi_slacky Slackware 3 06-13-2013 07:53 PM
[SOLVED] Cannot build wxPython from sbopkg arubin Slackware 12 10-08-2012 06:22 PM
[SOLVED] Unable to build SuiteSparse (from SBo) in multilib 64-current. hiptobecubic Slackware 4 07-31-2012 04:57 AM
[SOLVED] Issues installing "shutter" SBo with sbopkg tallship Slackware 2 01-28-2011 01:29 AM
[ANNOUNCE] SBo/Sbopkg comprehensive queue archive Mauro Giachero Slackware 17 03-05-2010 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:20 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration