Bug 200095 - sys-devel/catalyst-2.0.5_pre5 (or svn-trunk) patch to add support for sys-devel/icecream cluster compiling
|
Bug#:
200095
|
Product: Gentoo Hosted Projects
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: catalyst@gentoo.org
|
Reported By: tais.hansen@osd.dk
|
|
Component: Catalyst
|
|
|
URL:
|
|
Summary: sys-devel/catalyst-2.0.5_pre5 (or svn-trunk) patch to add support for sys-devel/icecream cluster compiling
|
|
Keywords: InSVN
|
|
Status Whiteboard:
|
|
Opened: 2007-11-23 16:57 0000
|
Here's a patch which enables sys-devel/icecream support for compiling targets
in clusters.
Requires the icecream daemon to be running on the host which is running
catalyst. It is not necessary to run the daemon inside catalyst as catalyst
will use the build host's icecc job directory (/var/cache/icecream).
Remember to enable icecream by adding the keyword "icecream" to the options
string in /etc/catalyst/catalyst.conf. Also remember to increase the number of
make jobs by setting MAKEOPTS in /etc/catalyst/catalystrc. Icecream figures out
how many jobs can be distributed automatically so you can set the number of
jobs high without overloading the compile host. I.e. MAKEOPTS="-j15" is working
just fine here.
Cool. I'll definitely check this out...
Added to SVN... this will be released in a new catalyst shortly...
Just to note, neither of us are familiar with icecream or how its usage differs
from that of distcc. If this breaks, you've bought it. We'll also probably CC
you on any bugs that people file in this code :)
He's such a flirt, isn't he?
What he means is we'll need to defer to you on questions until we've gotten a
grasp on the functionality of icecream.
This is in 2.0.5_pre6 which is going in the tree now. Let me know if it
doesn't work for you.
I'm experiencing an issue with first stage building. The root-in-chroot stuff
is doing weird things specifically breaking libperl configure (testing gcc)
with permission problems. I'm working on figuring out why although I cannot
reproduce it outside catalyst.
Well, since it doesn't affect anything when it's not enabled, we're not going
to touch the code. If you find a fix, please submit a patch.
I've narrowed it down to a bug in icecreams handling of $PATH when searching
for the actual compiler. Perl's configure script adds /usr/libexec to $PATH and
icecream sees gcc in /usr/libexec/gcc and forgets to check if it's actually a
file. I'll have a patch ready for icecream in a few minutes.