Skip to content

Commit

Permalink
Reduce parallelism of runtime build
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsmith committed Oct 13, 2024
1 parent 898c789 commit 8f02c3d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion product/runtime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,11 @@ if (!(cmakeBuildType in KNOWN_BUILD_TYPES)) {
group = "build"
dependsOn cmake
executable "$sdkCmakeDir/bin/cmake"
args "--build", cmakeBuildSubdir

// Ninja's parallel build defaults to the number of processors plus 2, which
// overloads the GitHub Actions runner.
args "--build", cmakeBuildSubdir,
"--parallel", Runtime.getRuntime().availableProcessors()
}
if (abi != "host") {
for (name in ["chaquopy", "libchaquopy_java"]) {
Expand Down

0 comments on commit 8f02c3d

Please sign in to comment.