mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-04 21:53:38 +02:00
faster builds
This commit is contained in:
parent
d18a999f31
commit
62f72877e9
1 changed files with 1 additions and 1 deletions
|
|
@ -649,7 +649,7 @@ def build_pyqt_extension(self, ext, dest):
|
|||
os.chdir(src_dir)
|
||||
if self.newer(dest, sip['headers'] + sip['sources'] + ext.sources + ext.headers):
|
||||
self.check_call([QMAKE] + qmc + [proname])
|
||||
self.check_call([make])
|
||||
self.check_call([make]+([] if iswindows else ['-j%d'%(cpu_count() or 1)]))
|
||||
shutil.copy2(os.path.realpath(name), dest)
|
||||
finally:
|
||||
os.chdir(cwd)
|
||||
|
|
|
|||
Loading…
Reference in a new issue