mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 06:13:10 +02:00
speed up build
This commit is contained in:
parent
efbd02bb2e
commit
26136293b7
1 changed files with 1 additions and 1 deletions
|
|
@ -598,7 +598,7 @@ def build_qt_objects(self, ext):
|
|||
if iswindows:
|
||||
qmc += ['-spec', 'win32-msvc2008']
|
||||
self.check_call(qmc + [ext.name+'.pro'])
|
||||
self.check_call([make, '-f', 'Makefile'])
|
||||
self.check_call([make, '-f', 'Makefile']+([] if iswindows else ['-j%d'%(cpu_count() or 1)]))
|
||||
objects = glob.glob(obj_pat)
|
||||
return list(map(self.a, objects))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue