Skip to content

Commit

Permalink
Merge pull request #206 from marynate/PR-multijobs-build
Browse files Browse the repository at this point in the history
Fixed #205 Race condition in build process
  • Loading branch information
reduz committed Apr 5, 2014
2 parents 6a737c7 + 7ca064c commit 1278da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1278da7

Please sign in to comment.