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]
Having the single make.conf really is a strong point of Gentoo (I wish they would get their act back together.)

I think the closest to Gentoo you will get is with apt-build: sudo apt-get install apt-build. There is an initial set of menus that you can go through to "turn up" the compile options.

Here is more on it:
http://polishlinux.org/linux/debian/apt-build-optimize-debian/

(I'm a Gentoo kinda guy but, like you have migrated to Debian since the "hiccups" with Gentoo)

Hope this helps,

George


On Apr 19, 2008, at 7:55 PM, Jack Smith wrote:
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


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