[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dual CPU compilation.



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 <cas@taz.net.au>

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



Reply to: