On Mon, 2 Sep 2024 07:20:50 GMT, Johan Vos <j...@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.
It's probably coincidental then. Btw, my local test of `gradle cleanNative sdk` in a loop has hit 350 iterations with no errors. I'm running one last test on our CI build nodes (both x64 and aarch64) with 100 iterations. Once that completes, I'll close [JDK-8089417](https://bugs.openjdk.org/browse/JDK-8089417) and file the new bug. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1554#issuecomment-2327181206