Integrated: 8339335: set number of parallel jobs when building webkit
Johan Vos
jvos at openjdk.org
Wed Sep 4 12:10:28 UTC 2024
On Mon, 2 Sep 2024 07:20:50 GMT, Johan Vos <jvos at openjdk.org> wrote:
> When building webkit, the perl script in `modules/javafx.web/src/main/native/Tools/Scripts/build-webkit` will check for a `-j` argument in `$makeArgs`. If that doesn't exist, it will default to `numberOfCPUs()`.
> This PR passes the `NUM_COMPILE_THREADS` from `build.gradle` to the `build-webkit` script. When not setting `NUM_COMPILE_THREADS` explicitly,it will default to the number of CPU's as well, hence it will have the same behavior as without this PR.
> When setting `NUM_COMPILE_THREADS` explicitly, the provided number will be used by cmake as well now.
This pull request has now been integrated.
Changeset: 4647367c
Author: Johan Vos <jvos at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/4647367ce4590440fbb85675055225c869502314
Stats: 9 lines in 1 file changed: 2 ins; 5 del; 2 mod
8339335: set number of parallel jobs when building webkit
8339505: Enable parallel compilation of native code on macOS
Reviewed-by: angorya, kcr
-------------
PR: https://git.openjdk.org/jfx/pull/1554
More information about the openjfx-dev
mailing list