We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 898c789 commit 8f02c3dCopy full SHA for 8f02c3d
product/runtime/build.gradle
@@ -302,7 +302,11 @@ if (!(cmakeBuildType in KNOWN_BUILD_TYPES)) {
302
group = "build"
303
dependsOn cmake
304
executable "$sdkCmakeDir/bin/cmake"
305
- args "--build", cmakeBuildSubdir
+
306
+ // Ninja's parallel build defaults to the number of processors plus 2, which
307
+ // overloads the GitHub Actions runner.
308
+ args "--build", cmakeBuildSubdir,
309
+ "--parallel", Runtime.getRuntime().availableProcessors()
310
}
311
if (abi != "host") {
312
for (name in ["chaquopy", "libchaquopy_java"]) {
0 commit comments