Browse Source

Don't choose jobs based on processor

Leads to lots of builds with out-of-memory.
v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
9922e4e433
  1. 7
      wscript

7
wscript

@ -18,12 +18,7 @@ blddir = 'build'
jobs=1 jobs=1
if os.environ.has_key('JOBS'): if os.environ.has_key('JOBS'):
jobs = int(os.environ['JOBS']) jobs = int(os.environ['JOBS'])
else:
try:
import multiprocessing
jobs = multiprocessing.cpu_count()
except:
pass
def set_options(opt): def set_options(opt):
# the gcc module provides a --debug-level option # the gcc module provides a --debug-level option

Loading…
Cancel
Save