[PyKDE] [PATCH] threaded build.py for PyQt 3.6

Hans-Peter Jansen hpj at urpla.net
Mon Apr 28 12:58:00 BST 2003


Hi Phil,

with the attached patch, build.py is able to saturate multiple CPUs on 
module code and Makefile generation. Since we're running out of command 
line switches, it's triggered by a -j# option from the MAKEFLAGS 
environment variable.

Downsides: 
- on a sufficiently fast SMP system (dual Athlon MP 1700+), it's 
necessary to refine the make call a bit, in order to get the qt module
build first, since all other modules depend on it, aka:
cd qt && make && cd .. && make
- KeyboardInterrupt doesn't kill the build.py process reliable while 
threads are running.

If you're going to accept this patch, I will update the docs 
accordingly.

Would you accept a patch allowing to build sip and PyQt into an 
independant path like I've done it for PyKDE before? 

Pete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PyQt-3.6-build-mp.diff
Type: text/x-diff
Size: 11584 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20030428/f69646dd/PyQt-3.6-build-mp.bin


More information about the PyQt mailing list