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")
@@ -155,6 +158,7 @@ func init() {
155
158
loggerFlag=flag.String(FLAG_LOGGER, FLAG_LOGGER_HUMAN, "Sets type of logger. Available values are '"+FLAG_LOGGER_HUMAN+"', '"+FLAG_LOGGER_MACHINE+"'")
156
159
versionFlag=flag.Bool(FLAG_VERSION, false, "prints version and exits")
157
160
vidPidFlag=flag.String(FLAG_VID_PID, "", "specify to use vid/pid specific build properties, as defined in boards.txt")
161
+
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