[PyKDE] [PATCH] some more build.py tweaks

Hans-Peter Jansen hpj at urpla.net
Wed Apr 23 23:35:01 BST 2003


Hi Jim,

I know, you're busy with other things, but I couldn't stop myself
from tweaking build.py. Here is, what I've done so far as diffs
against PyKDE-3.5-2.

ChangeLog entry:
build.py: some new options allows 64 bit builds, split
concatenated files, threaded build.py execution, -d will
create the destination, if it doesn't exist (allows
RPM_BUILD_ROOT) and some cleanups.

README diff provided.

I've chosen PyKDE's build.py for the thread hackings, because
it spared me the win32 hassles which I cannot test, either. If
it proves useful for PyKDE, I will adapt it to PyQt.

If one of your systems is SMP, I'm sure, you will enjoy it.
I was able to build the PyKDE rpm as an ordinary user. The
make -j problem, I noted before, vanished, btw.

System: 2 way 1GHz PIII
Time for build.py reduced from 12 min to 6 min.

Time to build rpm
Before: build -c && make -j2: 31:44
Now: build -cj2 && make -j2:  25:26

Well, using MAKEFLAGS is indeed questionable, but was the
easiest way to spare just another command line option, and
works nicely in the specs.

Please let me know, what do you think.

Thanks,
Pete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PyKDE-kdepyuic.diff
Type: text/x-diff
Size: 4703 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20030423/89a4e506/PyKDE-kdepyuic.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PyKDE-build.diff
Type: text/x-diff
Size: 18912 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20030423/89a4e506/PyKDE-build.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PyKDE-postproc.diff
Type: text/x-diff
Size: 314 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20030423/89a4e506/PyKDE-postproc.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PyKDE-readme.diff
Type: text/x-diff
Size: 2439 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20030423/89a4e506/PyKDE-readme.bin


More information about the PyQt mailing list