Hi, lejeczek via buildsys wrote: > How can number of jobs(make) be controlled - or any other > place which 'mock' goes multitasking? > > I did a bit of tweaking in: ~/.rpmmacros of the user who > runs mocks, but that does not seem to have desired effect.
I think -- though I don't know that I've ever had a need for it -- setting the RPM_BUILD_NCPUS envvar is the proper way to do this. You can set some of the _smp_* macros directly, but I don't think that's as clear or clean. So in ~/.config/mock.cfg or in a chroot config, you can put something like this: config_opts['environment']['RPM_BUILD_NCPUS'] = '2' -- Todd
signature.asc
Description: PGP signature
-- _______________________________________________ buildsys mailing list -- buildsys@lists.fedoraproject.org To unsubscribe send an email to buildsys-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/buildsys@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue