[PyKDE] [PATCH] reduce PyQt concatenated build time on SMP

2003-03-24 Thread Hans-Peter Jansen
Hi Phil, in order to saturate multiple CPUs on SMP systems, I've created the attached patch. The problem is, that the qt module consists of 228 single modules, and build of its concatenated module outlasts all others by a few minutes here. With it applied, I was able to reduce the rpm build

Re: [PyKDE] [PATCH] reduce PyQt concatenated build time on SMP

2003-03-24 Thread Phil Thompson
On Monday 24 March 2003 11:53 am, Hans-Peter Jansen wrote: Hi Phil, in order to saturate multiple CPUs on SMP systems, I've created the attached patch. The problem is, that the qt module consists of 228 single modules, and build of its concatenated module outlasts all others by a few

Re: [PyKDE] [PATCH] reduce PyQt concatenated build time on SMP

2003-03-24 Thread Hans-Peter Jansen
On Monday 24 March 2003 13:05, Phil Thompson wrote: On Monday 24 March 2003 11:53 am, Hans-Peter Jansen wrote: Hi Phil, in order to saturate multiple CPUs on SMP systems, I've created the attached patch. The problem is, that the qt module consists of 228 single modules, and build of

Re: [PyKDE] [PATCH] reduce PyQt concatenated build time on SMP

2003-03-24 Thread Gerard Vermeulen
On Mon, Mar 24, 2003 at 03:09:17PM +0100, Hans-Peter Jansen wrote: On Monday 24 March 2003 13:05, Phil Thompson wrote: On Monday 24 March 2003 11:53 am, Hans-Peter Jansen wrote: Hi Phil, in order to saturate multiple CPUs on SMP systems, I've created the attached patch. The

Re: [PyKDE] [PATCH] reduce PyQt concatenated build time on SMP

2003-03-24 Thread Phil Thompson
On Monday 24 March 2003 2:50 pm, Gerard Vermeulen wrote: On Mon, Mar 24, 2003 at 03:09:17PM +0100, Hans-Peter Jansen wrote: On Monday 24 March 2003 13:05, Phil Thompson wrote: On Monday 24 March 2003 11:53 am, Hans-Peter Jansen wrote: Hi Phil, in order to saturate multiple CPUs

Re: [PyKDE] [PATCH] reduce PyQt concatenated build time on SMP

2003-03-24 Thread Ricardo Javier Cardenes Medina
On Mon, Mar 24, 2003 at 02:58:30PM +, Phil Thompson wrote: Yes - I'd be happy with this. It also helps those compilers (aka MSVC) that choke on such a large C++ file but would probably handle... python build.py -c -j 10 I thought that MS C++ compiler featured header precompilation. In

Re: [PyKDE] [PATCH] reduce PyQt concatenated build time on SMP

2003-03-24 Thread Hans-Peter Jansen
On Monday 24 March 2003 15:58, Phil Thompson wrote: On Monday 24 March 2003 2:50 pm, Gerard Vermeulen wrote: If you are proposing this, why don't you generalize and code something like the -j switch (parallel build switch) for make. In this case there is no penalty for UP machines (by

Re: [PyKDE] [PATCH] reduce PyQt concatenated build time on SMP

2003-03-24 Thread Phil Thompson
On Monday 24 March 2003 4:00 pm, Ricardo Javier Cardenes Medina wrote: On Mon, Mar 24, 2003 at 02:58:30PM +, Phil Thompson wrote: Yes - I'd be happy with this. It also helps those compilers (aka MSVC) that choke on such a large C++ file but would probably handle... python build.py -c