parallel threads when building webkit

Johan Vos johan.vos at gluonhq.com
Wed Apr 24 07:19:01 UTC 2024


Hi,

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.
This is often a bad idea, e.g. with 20 cores and 32GB this leads to a
freeze of the system.

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`

Is there a known other way to do this, or should we add passing the
NUM_COMPILE_THREADS via `--makeargs` in the build.gradle?

- Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20240424/62fb5a2d/attachment.htm>


More information about the openjfx-dev mailing list