<div dir="ltr"><div dir="ltr">On Thu, Jan 26, 2023 at 3:34 PM Mark Wielaard <<a href="mailto:mark@klomp.org">mark@klomp.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Kalev,<br></blockquote><div><br></div><div>Hi Mark,</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Aha, you want to reduce the default parallelism (processors / 2)?<br></blockquote><div><br></div><div>Yes, exactly!</div><div><br></div><div>We have the following in webkitgtk, which basically just passes -j1 on low memory builders:</div><div><br></div><div># Require 32 GB of RAM per vCPU for debuginfo processing. 16 GB is not enough.<br>%global _find_debuginfo_opts %limit_build -m 32768<br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> diff --git a/scripts/<a href="http://find-debuginfo.in" rel="noreferrer" target="_blank">find-debuginfo.in</a> b/scripts/<a href="http://find-debuginfo.in" rel="noreferrer" target="_blank">find-debuginfo.in</a><br>
> index b07a52f..8cc1bfd 100755<br>
> --- a/scripts/<a href="http://find-debuginfo.in" rel="noreferrer" target="_blank">find-debuginfo.in</a><br>
> +++ b/scripts/<a href="http://find-debuginfo.in" rel="noreferrer" target="_blank">find-debuginfo.in</a><br>
> @@ -585,7 +585,7 @@ if $run_dwz \<br>
>        dwz_multifile_suffix=".${dwz_multifile_idx}"<br>
>      done<br>
>      dwz_multifile_name="${dwz_multifile_name}${dwz_multifile_suffix}"<br>
> -    dwz_opts="-h -q -r"<br>
> +    dwz_opts="-h -q -r -j ${n_jobs}"<br>
>      [ ${#dwz_files[@]} -gt 1 ] && [ "$dwz_single_file_mode" = "false" ] \<br>
>        && dwz_opts="${dwz_opts} -m .dwz/${dwz_multifile_name}"<br>
>      mkdir -p "${RPM_BUILD_ROOT}/usr/lib/debug/.dwz"<br>
<br>
I agree with Panu that a configure check would be nice to make sure the<br>
installed dwz does support -j. Would the attached patch work for you?<br></blockquote><div><br></div><div>That looks perfect to me. Thanks a lot!</div><div><br></div><div>Can you also apply it to the rawhide package, please? That way I can confirm if it actually works on actual koji builders and see if we can get webkitgtk building right.</div><div><br></div><div>Thanks,</div><div>Kalev</div></div></div>