<div dir="ltr">I filed <a href="https://bugs.openjdk.org/browse/JDK-8339335">https://bugs.openjdk.org/browse/JDK-8339335</a> for this, and I created a PR: <a href="https://github.com/openjdk/jfx/pull/1554">https://github.com/openjdk/jfx/pull/1554</a><div><br></div><div>- Johan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 24, 2024 at 12:14 PM Thiago Milczarek Sayão <<a href="mailto:thiago.sayao@gmail.com">thiago.sayao@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Johan,</div><div><br></div>I often have to try to build it a few times before it succeeds (on Linux). <div>And I used an old Ryzen 7 1700X with 16 threads, 16GB. I have now upgraded it, but I haven't built webkit yet. I'm really scared of it :)</div><div><br></div><div>So limiting the threads seems like a good idea.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qua., 24 de abr. de 2024 às 04:23, Johan Vos <<a href="mailto:johan.vos@gluonhq.com" target="_blank">johan.vos@gluonhq.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>When building WebKit from the sources, the perl script that invokes the cmake/make build (build-webkit) will by default set the number of build threads to the number of available cores.</div><div>This is often a bad idea, e.g. with 20 cores and 32GB this leads to a freeze of the system. </div><div><br></div><div>As far as I know, we do not allow passing the number of parallel build threads (I typically modify them in the perl script). We already have the "NUM_COMPILE_THREADS" property in the build.gradle but we do not use that when building webkit. We only pass `--cmakeargs` to the buildscript, and the number of threads is set via e.g. `--makeargs=-j16`</div><div><br></div><div>Is there a known other way to do this, or should we add passing the NUM_COMPILE_THREADS via `--makeargs` in the build.gradle?</div><div><br></div><div>- Johan</div></div>
</blockquote></div>
</blockquote></div>