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

Jim Bublitz jbublitz at nwinternet.com
Thu Apr 24 00:51:01 BST 2003


On 23-Apr-03 Hans-Peter Jansen wrote:
> 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.

Good timing - I'm going to start applying patches/fixes from the
list tonight or tomorrow and put the next release out - hopefully
early next week.
 
> 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.

I have no way to test this, so it'll pretty much go in 'as is'.
Since I have no way to test this, I appreciate your providing the
patch.


Jim




More information about the PyQt mailing list