We have a serious intermittent build failure in the :graphics:ccMacFontT2K task. See RT-35955 for more information. In order to fix that bug we disabled parallel compilation on the Mac by setting the default number of parallel compilation threads to 1. If we can fix the underlying cause then we could re-enable parallel native compilation to speed up the build on Mac.
To reproduce this, run the following in a loop until it fails (other values of NUM_COMPILE_THREADS might cause the problem to fail more or less often on a particular system) :
while (true) {
gradle -PNUM_COMPILE_THREADS=8 cleanNativeFontT2K nativeFontT2K
}
To reproduce this, run the following in a loop until it fails (other values of NUM_COMPILE_THREADS might cause the problem to fail more or less often on a particular system) :
while (true) {
gradle -PNUM_COMPILE_THREADS=8 cleanNativeFontT2K nativeFontT2K
}
- relates to
-
JDK-8340564 [macOS] Intermittent build failure in native font with parallel compilation
- Open
-
JDK-8187147 Remove T2K from JavaFX
- Resolved
-
JDK-8339335 set number of parallel jobs when building webkit
- Resolved
-
JDK-8094590 Mac: Intermittent build failures in task graphics:ccMacFontT2K
- Resolved
-
JDK-8339505 Enable parallel compilation of native code on macOS
- Resolved