Re: Distcc pump mode
Fergus Henderson <[email protected]> Thu, 13 Mar 2014 09:16:47 +0000
| Newsgroups | gmane.comp.compilers.distcc |
|---|---|
| Message-ID | <CAPXkjd-bb9-_fMv=8T6RsSb8wYyK=6qjD6O7Q7A94YSWuSSqbA@mail.gmail.com> |
--===============4561368163988404890== Content-Type: multipart/alternative; boundary=047d7bf0f4fce267bb04f4796ac7 --047d7bf0f4fce267bb04f4796ac7 Content-Type: text/plain; charset=UTF-8 On Thu, Mar 13, 2014 at 6:40 AM, yudhistir reddy <[email protected]>wrote: > Thank you. Is there any way i can display the list of environment > variables it sets once pump script starts . > Yes, try "pump env". > 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. > > 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 > > > On Thu, Mar 13, 2014 at 3:04 AM, Fergus Henderson <[email protected]>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" <[email protected]> >> 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 >>> >> > -- Fergus Henderson <[email protected]> "Defend the user, exclude no one, and create magic." -- Eric Schmidt. --047d7bf0f4fce267bb04f4796ac7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On T= hu, Mar 13, 2014 at 6:40 AM, yudhistir reddy <span dir=3D"ltr"><<a href= =3D"mailto:[email protected]" target=3D"_blank">yudhistir.reddy@gma= il.com</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><div><div><div>Thank y= ou. Is there any way i can display the list of environment variables it set= s once pump script starts .</div> </div></div></div></div></blockquote><div><br></div><div>Yes, try "pum= p env".</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style= =3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir= =3D"ltr"> <div><div><div><div> 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.=C2=A0 <br> <br></div>Is there any work around for this . I can export these variable f= or some fixed port like 3632 for tcp .=C2=A0 Pls let me know any other vari= ables 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 w= orking and improving build time . For the time being , i need some work aro= und for pump mode to work , then later i will debug more on this .<br> <br></div>Any help on this much appreciated .<br><br></div>Regards<span cla= ss=3D"HOEnZb"><font color=3D"#888888"><br></font></span></div><span class= =3D"HOEnZb"><font color=3D"#888888">Yudhistir<br></font></span></div><div c= lass=3D"HOEnZb"> <div class=3D"h5"><div class=3D"gmail_extra"><br><br><div class=3D"gmail_qu= ote">On Thu, Mar 13, 2014 at 3:04 AM, Fergus Henderson <span dir=3D"ltr">&l= t;<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]<= /a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><p dir=3D"ltr">The pump script will set that= environment variable before invoking "mk". But perhaps "mk&= quot; is resetting the environment? Or something else between "mk"= ; and "distcc" might be unsetting it?</p> <div class=3D"gmail_quote"><div><div>On 11 Mar 2014 14:13, "yudhistir = reddy" <<a href=3D"mailto:[email protected]" target=3D"_bla= nk">[email protected]</a>> wrote:<br type=3D"attribution"> </div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo= rder-left:1px #ccc solid;padding-left:1ex"><div><div> <div dir=3D"ltr"><div><div><div><div><div><div><div><div>Hi, <br><br></div>= I am trying to build using distcc pump mode .<br><br></div>I set DISTCC_HOS= TS . <br><br></div>i am starting the pump mode with <br><br></div>pump mk j= kernel-jobs WITH_DISTCC=3Dyes<br> <br></div>I am getting below waring <br><br>distcc[3342] Warning: INCLUDE_S= ERVER_PORT not set - did you forget to run under 'pump'?<br>distcc[= 3342] (dcc_build_somewhere) Warning: failed to get includes from include se= rver, preprocessing locally<br> <br><br></div>When we start pump mode , is distcc not setting this variable= ?<br><br></div><div><br></div><div><br></div>Regards<br></div>Yudhistir<br= ><div><div><br><br><br></div></div></div> <br></div></div>__<br> distcc mailing list =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"htt= p://distcc.samba.org/" target=3D"_blank">http://distcc.samba.org/</a><br> To unsubscribe or change options:<br> <a href=3D"https://lists.samba.org/mailman/listinfo/distcc" target=3D"_blan= k">https://lists.samba.org/mailman/listinfo/distcc</a><br></blockquote></di= v> </blockquote></div><br></div> </div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>= <div>Fergus Henderson <<a href=3D"mailto:[email protected]" target=3D"_b= lank">[email protected]</a>></div><div><br></div><div><div><span style= =3D"font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">&= quot;Defend the user, exclude no one, and create magic." -- Eric Schmi= dt.</span></div> </div><div><span style=3D"font-family:arial,sans-serif;font-size:13px;borde= r-collapse:collapse"><br></span></div> </div></div> --047d7bf0f4fce267bb04f4796ac7-- --===============4561368163988404890== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline __ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc --===============4561368163988404890==--