On Mon, 18 Jan 2010 18:34:44 +0200
Ville Skyttä <ville.sky...@iki.fi> wrote:

> On Monday 18 January 2010, Clark Williams wrote:
> 
> > If package build times are your problem, you may want to modify the
> > make command used by the specfiles. Mock just does what the specfile
> > says to do (i.e. it just does an rpmbuild), so you might want to add a
> > '-j16' to the make command line to tell make to manage 16 parallel
> > builds.
> 
> Many packages already pass %{?_smp_mflags} to make (and pretty much all 
> Fedora 
> packages should, unless there's a problem with it documented in the 
> specfile).  
> So instead of modifying specfiles, one can do something like this in 
> /etc/mock/site-defaults.cfg:
> 
> config_opts['macros']['%_smp_mflags'] = '-j3'
> -- 

Ooooh, I completely forgot about that. Good idea!

Although, I generally use N*2 for build systems (where N == #cores) so
that each core is kept busy.

Clark

Attachment: signature.asc
Description: PGP signature

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to