You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parallel compiling: arduino-builder will leverage your multi core pc. If
-jobs X param is specified and X is greater than 0, arduino-builder won't spawn
more than X processes. Fixes#17
Signed-off-by: Federico Fissore <[email protected]>
compileFlag=flag.Bool(FLAG_ACTION_COMPILE, false, "compiles the given sketch")
@@ -137,6 +140,7 @@ func init() {
137
140
loggerFlag=flag.String(FLAG_LOGGER, FLAG_LOGGER_HUMAN, "Sets type of logger. Available values are '"+FLAG_LOGGER_HUMAN+"', '"+FLAG_LOGGER_MACHINE+"'")
138
141
versionFlag=flag.Bool(FLAG_VERSION, false, "prints version and exits")
139
142
vidPidFlag=flag.String(FLAG_VID_PID, "", "specify to use vid/pid specific build properties, as defined in boards.txt")
143
+
jobsFlag=flag.Int(FLAG_JOBS, 0, "specify how many concurrent gcc processes should run at the same time. Defaults to the number of available cores on the running machine")
0 commit comments