<div dir="ltr"><div><div>Thank you so much for helping me . This issue is resolved . Now i am testing the pump mode . <br><br></div>Regards<br></div>Yudhsitir<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Mar 14, 2014 at 12:07 AM, Fergus Henderson <span dir="ltr"><<a href="mailto:fergus@google.com" target="_blank">fergus@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=""><p dir="ltr"><br>
On 13 Mar 2014 13:29, "yudhistir reddy" <<a href="mailto:yudhistir.reddy@gmail.com" target="_blank">yudhistir.reddy@gmail.com</a>> wrote:<br>
><br>
> # May need to override this (eg. for logging)<br>
> exec_cmd() {<br>
>     exec "$@"<br>
> }<br>
><br>
> # This is my official name<br>
> MYNAME=mk<br>
><br>
> Mydir=`dirname $0`<br>
><br>
> # for customization<br>
> unset mk_cmd_hooks mk_setup_hooks mk_finish_hooks<br>
><br>
> # override this for more complex requirements<br>
> mk_target_machine() {<br>
>     MACHINE=$1<br>
>     export MACHINE<br>
> }<br>
><br>
> . $Mydir/sb-env.sh</p>
</div><p dir="ltr">What's in sb-env.sh?<br>
That looks suspicious...</p>
<p dir="ltr"></p><div><div class="h5">> # for backwards compatability<br>
> mk_cmd_hook() { :; }<br>
> add_hooks mk_cmd_hooks mk_cmd_hook<br>
><br>
> run_hooks mk_setup_hooks<br>
> run_hooks mk_cmd_hooks<br>
> run_hooks mk_cmd_hooks_lifo LIFO<br>
> run_hooks mk_finish_hooks<br>
><br>
> # we generally cannot afford to consume the command line<br>
> # since virtually any option might be for $cmd<br>
> # but we'll make an exception for these<br>
> while :<br>
> do<br>
>     case "$1" in<br>
>     --) shift; break;;          # stop trying to interpret anything<br>
>     --doc) __doc;;              # does not return<br>
>     --help) __help;;            # does not return<br>
>     --machine) mk_target_machine $2; shift 2;;<br>
>     *) break;;<br>
>     esac<br>
> done<br>
><br>
> case $Myname in<br>
> mk|mk-*|*make)<br>
>         nice=${nice:-nice}<br>
>         cmd=${cmd:-${REAL_MAKE:-/usr/bin/make}};;<br>
> *)      cmd=${cmd:-$Myname.real};;<br>
> esac<br>
> # at last! do some work<br>
> exec_cmd $nice $cmd "$@"<br>
><br>
><br>
> On Thu, Mar 13, 2014 at 5:31 PM, Vanush <<a href="mailto:misha@cs.nuim.ie" target="_blank">misha@cs.nuim.ie</a>> wrote:<br>
>><br>
>> On Thu, Mar 13, 2014 at 05:23:14PM +0530, yudhistir reddy wrote:<br>
>> > Sorry for that , that was silly mistake by me .<br>
>> ><br>
>> > Here is the use case , i did :<br>
>> ><br>
>> > 1. eval `pump --startup`<br>
>> > checked pump mode variables , i can see INCLUDE_SERVER_PORT set to<br>
>> > /tmp/distcc-pump.LIlIcs/socket<br>
>> ><br>
>> ><br>
>> > 2. started build<br>
>> > mk kernel -j30 WITH_DISTCC=yes<br>
>> > Build finished with pump mode  ( But actually it is turing back to Normal<br>
>> > mode ) .<br>
>> > I see the warning messages in distcclog as like below<br>
>><br>
>> can you show us your "mk" wrapper?<br>
>><br>
>> Misha<br>
>><br>
>><br>
>> --<br>
>> Vanush "Misha" Paturyan<br>
>> Senior Technical Officer<br>
>> Room 1.37<br>
>> Computer Science Department<br>
>> NUI Maynooth<br>
><br>
><br>
><br></div></div><div class="">
> __<br>
> distcc mailing list            <a href="http://distcc.samba.org/" target="_blank">http://distcc.samba.org/</a><br>
> To unsubscribe or change options:<br>
> <a href="https://lists.samba.org/mailman/listinfo/distcc" target="_blank">https://lists.samba.org/mailman/listinfo/distcc</a><br>
</div><p></p>
</blockquote></div><br></div>