Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit f10831a

Browse files
authored
Use maxcpucount 0 by default
1 parent 918369d commit f10831a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build.cake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
var TARGET = Argument ("t", Argument ("target", "Default"));
1717
var BUILD_CONFIG = Argument ("config", "Release");
1818
var VERBOSITY = (Verbosity) Enum.Parse (typeof(Verbosity), Argument ("v", Argument ("verbosity", "Normal")), true);
19-
var CPUS = Int.Parse(Argument("maxcpucount", "-1"));
20-
int? MAX_CPU_COUNT = CPUS < 0 ? (int?)null : (int?)CPUS;
19+
var MAX_CPU_COUNT = Int.Parse(Argument("maxcpucount", "0"));
2120

2221
// Lists all the artifacts and their versions for com.android.support.*
2322
// https://dl.google.com/dl/android/maven2/com/android/support/group-index.xml

0 commit comments

Comments
 (0)