Merge pull request #206 from marynate/PR-multijobs-build
Fixed #205 Race condition in build process
This commit is contained in:
commit
1278da71ea
@ -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
Block a user