Re: how to speed up mock?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 18 Jan 2010 18:34:44 +0200
Ville Skyttä <ville.skytta@xxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux