On Tue, Aug 10, 2021 18:53:35 +0100, Ankur Sinha wrote: > On Thu, Aug 05, 2021 09:01:14 +0200, Miroslav Suchý wrote: > > Dne 05. 08. 21 v 2:42 Michel Alexandre Salim via devel napsal(a): > > > This is now implemented on Rawhide; Fedora updates are in testing: > > > > Where is it documented? > > > > I suggest one of these > > > > https://rpm-packaging-guide.github.io/ > > https://docs.fedoraproject.org/en-US/packaging-guidelines/ > > That would be great. I was trying to put %limit_build at the top of my > spec and kept getting errors. Then I looked at the mcrouter spec and > realised this needs to go into the %build section XD > > python-graph-tool is another one of the memory hungry packages. I'm just > running a scratch build now and will let you know how it goes :) So graph-tool uses about 15G per thread. On setting this using %limit_build, I ran into a situation where the number of CPUs was set to 0 (and so the build failed): https://kojipkgs.fedoraproject.org//work/tasks/8791/73638791/build.log Should the minimum value of the number of CPUs be set to 1 perhaps? Currently, I'm trying: > %if %{?_smp_build_ncpus} == "0" > # Uses the latest value set by -j > echo "Building with 1 CPUs" > %make_build -j1 > %else > echo "Building with %{?_smp_build_ncpus} CPUs" > %make_build > %endif -- Thanks, Regards, Ankur Sinha "FranciscoD" (He / Him / His) | https://fedoraproject.org/wiki/User:Ankursinha Time zone: Europe/London
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ 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 on the list, report it: https://pagure.io/fedora-infrastructure