[distcc] Distcc pump mode

Vanush Misha Paturyan misha at cs.nuim.ie
Thu Mar 13 03:18:03 MDT 2014


On Thu, Mar 13, 2014 at 12:10:24PM +0530, yudhistir reddy wrote:
> Thank you. Is there any way i can display the list of environment variables
> it sets once pump script starts . mk is just the wrapper to call make . We
> are not doing anything in that . But still i will dig into it more (mk) .
> distcc normal mode is working fine and i see 10% build time reduction.

I would suspect that whichever way mk is started by the shell it
resets the environment. Can you show this "mk" script (or at least its
first few lines)? 

Withouth looking at pump itself: is it possible to do someting like
"pump env" (this should show the environment), and then add an env
invocation into "mk" script, just before calling make, and compare
outputs?

Misha.
 
> Is there any work around for this . I can export these variable for some
> fixed port like 3632 for tcp .  Pls let me know any other variables i need
> to set to make this pump mode work . Actually i am running out of time
> because i need to show my colleagues and friends , how distcc is working
> and improving build time . For the time being , i need some work around for
> pump mode to work , then later i will debug more on this .
> 
> Any help on this much appreciated .
> 
> Regards
> Yudhistir
> Any help on this much appreciated .
> 
> Regards
> Yudhistir
> 
> 
> On Thu, Mar 13, 2014 at 3:04 AM, Fergus Henderson <fergus at google.com> wrote:
> 
> > The pump script will set that environment variable before invoking "mk".
> > But perhaps "mk" is resetting the environment? Or something else between
> > "mk" and "distcc" might be unsetting it?
> > On 11 Mar 2014 14:13, "yudhistir reddy" <yudhistir.reddy at gmail.com> wrote:
> >
> >> Hi,
> >>
> >> I am trying to build using distcc pump mode .
> >>
> >> I set DISTCC_HOSTS .
> >>
> >> i am starting the pump mode with
> >>
> >> pump mk jkernel-jobs WITH_DISTCC=yes
> >>
> >> I am getting below waring
> >>
> >> distcc[3342] Warning: INCLUDE_SERVER_PORT not set - did you forget to run
> >> under 'pump'?
> >> distcc[3342] (dcc_build_somewhere) Warning: failed to get includes from
> >> include server, preprocessing locally
> >>
> >>
> >> When we start pump mode , is distcc not setting this variable ?
> >>
> >>
> >>
> >> Regards
> >> Yudhistir
> >>
> >>
> >>
> >>
> >> __
> >> distcc mailing list            http://distcc.samba.org/
> >> To unsubscribe or change options:
> >> https://lists.samba.org/mailman/listinfo/distcc
> >>
> >

> __
> distcc mailing list            http://distcc.samba.org/
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/distcc


-- 
Vanush "Misha" Paturyan
Senior Technical Officer
Room 1.37
Computer Science Department
NUI Maynooth


More information about the distcc mailing list