Re: Dual CPU compilation.

2001-04-23 Thread Vincent Renardias

On Sun, 22 Apr 2001, Simon Law wrote:

 
   I'm the lucky new owner of a dual Pentium Pro system.  It seems,
 however, that compiling stuff just doesn't use my extra CPU.  I know I
 can compile with 'make -j 2' to use the second processor; but I don't
 know how to convince kernel-package and dpkg-deb (apt-get source) to
 do that for me.  Any tips?

export MAKE='make -j 2'


Cordialement,

-- 
 Breve de comptoir #47:
 - Il parait que la terre est recouverte au 3/4 d'eau.
 - Je me demande comment elle fait pour tourner sans
 en renverser.




Re: Dual CPU compilation.

2001-04-23 Thread Taral
On Mon, Apr 23, 2001 at 12:36:50PM +1000, Craig Sanders wrote:
 type:
 
 export MAKE='make -j3' 
 
 before running make-kpkg.

Don't do that. Make now has a job-server. The correct way to do this is
to set the CONCURRENCY_LEVEL environment variable to 3 (or whatever)
before running make-kpkg.

-- 
Taral [EMAIL PROTECTED]
Please use PGP/GPG encryption to send me mail.
Any technology, no matter how primitive, is magic to those who don't
understand it. -- Florence Ambrose


pgplCGXtkjDWx.pgp
Description: PGP signature


Dual CPU compilation.

2001-04-22 Thread Simon Law
Hello,

I'm the lucky new owner of a dual Pentium Pro system.  It seems,
however, that compiling stuff just doesn't use my extra CPU.  I know I
can compile with 'make -j 2' to use the second processor; but I don't
know how to convince kernel-package and dpkg-deb (apt-get source) to
do that for me.  Any tips?

Thanks,
Simon




Re: Dual CPU compilation.

2001-04-22 Thread Craig Sanders
On Sun, Apr 22, 2001 at 10:15:28PM -0400, Simon Law wrote:
 I'm the lucky new owner of a dual Pentium Pro system.  It seems,
 however, that compiling stuff just doesn't use my extra CPU.  I know I
 can compile with 'make -j 2' to use the second processor; but I don't
 know how to convince kernel-package and dpkg-deb (apt-get source) to
 do that for me.  Any tips?

this question belongs on debian-user, not debian-devel.

type:

export MAKE='make -j3' 

before running make-kpkg.

note that the kernel is known to have problems compiling reliably when
you use make -j. this won't be fixed until Keith Owens and others have
got their fixed kernel build system into the kernel tree - that won't
happen until 2.5.x i believe.

i've successfully compiled several kernels using -j3, but it's not
something i'd want to rely on at the moment.

craig

--
craig sanders [EMAIL PROTECTED]

  GnuPG Key: 1024D/CD5626F0 
Key fingerprint: 9674 7EE2 4AC6 F5EF 3C57  52C3 EC32 6810 CD56 26F0