On 4/18/23 12:24, Florian Weimer wrote:
What's the best way to disable to disable parallel (make) builds?
This?
%undefine _smp_build_ncpus
It seems it will set RPM_BUILD_NCPUS to the empty string, though.
No, don't do that. It depends on where you want to do it. From a spec
(typically for a package with broken parallel build):
%global _smp_ncpus_max 1
(a %define will do just as well), or "%_smp_ncpus_max 1" in a macros
file. Or set RPM_BUILD_NCPUS environment variable to 1.
- Panu -
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue