Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
add host to distcc during compilation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Pat-rizio
n00b
n00b


Joined: 05 Apr 2004
Posts: 69

PostPosted: Thu Oct 28, 2004 2:53 pm    Post subject: add host to distcc during compilation Reply with quote

Hi everybody,
I'm compiling kde using distcc on 2 computers on a lan and I would add my laptop to compilation.
I've searched on past posts but I can't find anything.
My question is:
Can I add 1 IP to /etc/distcc/hosts during a distributed compilation of a package?
Thanks in advance for answers.


Last edited by Pat-rizio on Mon Nov 15, 2004 5:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
fennec
l33t
l33t


Joined: 30 Aug 2003
Posts: 613
Location: Montreal

PostPosted: Thu Oct 28, 2004 5:29 pm    Post subject: Reply with quote

You can give it a try and monitor the 3rd machine to see if it starts processes after.
Back to top
View user's profile Send private message
Pat-rizio
n00b
n00b


Joined: 05 Apr 2004
Posts: 69

PostPosted: Fri Oct 29, 2004 8:32 am    Post subject: Reply with quote

Thanks fennec for the answer. :wink:
I know, I can try.
I wish to know if someone has tryed it before, just to don't compromise my compilation (kde).
Compiling a small package, before start compilation, I added another host to
Code:
/etc/distcc/hosts

end I've modified my
Code:
/etc/make.conf

only during compilation, changing the variable
Code:
MAKEOPT="-j3"
to
Code:
MAKEOPT="-j4"

and it worked nice.
Maybe this means that I can add one host to
Code:
/etc/distcc/hosts

even when compilation is running... MAYBE... :roll:


Last edited by Pat-rizio on Mon Nov 15, 2004 5:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
fennec
l33t
l33t


Joined: 30 Aug 2003
Posts: 613
Location: Montreal

PostPosted: Fri Oct 29, 2004 7:24 pm    Post subject: Reply with quote

Depending on when the file is read... if its read only once until end of the compile process, its not going to change anything, then if it is read each time it has something to compile sent to distcc then it may take effect or crash it =P
Back to top
View user's profile Send private message
Pat-rizio
n00b
n00b


Joined: 05 Apr 2004
Posts: 69

PostPosted: Sat Oct 30, 2004 3:09 pm    Post subject: Reply with quote

I think distcc look at this file before any compilation, cause I set an IP of a computer that is shutdown and no errors are founded. Then when I start this computer (obviously distccd is set to start as default :wink: ) the compilation starts even on this computer immediatly whit no errors.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum