Re: how to speed up mock?

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

 



On Monday 18 January 2010, Tony Nelson wrote:
> On 10-01-18 11:34:44, Ville Skyttä wrote:
>  ...
> 
> > So instead of modifying specfiles, one can do something like this in
> > /etc/mock/site-defaults.cfg:
> >
> > config_opts['macros']['%_smp_mflags'] = '-j3'
> 
> Unless `rpmbuild --showrc` shows a bad definition for _smp_mflags,
> you're probably better off letting the macro decide.

Possibly, but this was just to point out that there's no need to modify spec 
files if you want to have a custom value for it.

Anyway, for single core machines, it's better to set %_smp_mflags manually to 
-jX (X > 1) in any case, not only for build speed reasons, see 
https://fedoraproject.org/wiki/Packaging/Guidelines#Parallel_make
-- 
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