Set multi-jobs build option defaul to no
This commit is contained in:
parent
e20e3c9525
commit
7ca064c3d1
|
@ -11,7 +11,7 @@ import multiprocessing
|
|||
# Enable aggresive compile mode if building on a multi core box
|
||||
# only is we have not set the number of jobs already or we do
|
||||
# not want it
|
||||
if ARGUMENTS.get('spawn_jobs', 'yes') == 'yes' and \
|
||||
if ARGUMENTS.get('spawn_jobs', 'no') == 'yes' and \
|
||||
int(GetOption('num_jobs')) <= 1:
|
||||
NUM_JOBS = multiprocessing.cpu_count()
|
||||
if NUM_JOBS > 1:
|
||||
|
|
Loading…
Reference in New Issue