MLUG: Re: [MLUG] Multithreaded compile using apt?
Re: [MLUG] Multithreaded compile using apt?
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I am using the amd64 version of Debian Lenny. It's what I run on both of
my machines. I need some reliability, so I don't run Sid and I have some
hardware that's not supported under Etch's 2.6.18 kernel. 

I forgot about distcc as I'd used that in the past when I had Gentoo on
my old laptop that was decidedly poky. Distcc's compiler call script
gets the symlink for "/usr/bin/gcc" and g++, but IIRC doesn't it only
distribute as many threads as the program that called gcc/g++ tells it
to? If that is the case, then we're back at square one. 

--Jack

On Sat, 2008-04-19 at 18:47 -0500, George Robb wrote:
> What distro?  Debian? Ubuntu?
> 
> Also, take a look at distcc. (Might be up your alley.)
> 
> George
> 
> 
> 
> On Apr 18, 2008, at 9:19 PM, Jack Smith wrote:
> > I have a quick question here and Google wasn't very helpful. I want to
> > be able to use both CPU cores when I compile a Debian source package
> > using apt. I can get things to compile just fine, but gcc only spawns
> > one thread. How would I go about getting it to spawn more threads? I
> > already tried to export MAKEOPTS="-j3" in the terminal to get gcc to
> > spawn three threads, but apparently apt spoon-feeds gcc instructions.
> >
> > --Jack
> >
> >
> > _______________________________________________
> > members mailing list
> > EMAIL:PROTECTED
> > http://mlug.missouri.edu/mailman/listinfo/members
> 
> 
> _______________________________________________
> members mailing list
> EMAIL:PROTECTED
> http://mlug.missouri.edu/mailman/listinfo/members


_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members