You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by Matthew Jacobs <mj...@cloudera.com> on 2016/11/16 17:13:22 UTC
compile_commands issues after using distcc?
Hi all,
Do any vim/YouCompleteMe users (or anyone else using the
compile_commands.json) have issues after enabling distcc? I've found
my vim completion (via YouCompleteMe) no longer works.
I'm curious to know if anyone has any workarounds or suggestions.
Thanks
Re: compile_commands issues after using distcc?
Posted by Lars Volker <lv...@cloudera.com>.
Wild guessing ahead since I'm not using distcc on my German machine, but my
guess would be that you can modify the FlagsForFile() method in your
ycm_extra_conf.py and strip the leading distcc calls before returnig the
flags.
On Wed, Nov 16, 2016 at 6:37 PM, Dimitris Tsirogiannis <
dtsirogiannis@cloudera.com> wrote:
> I tried it but couldn't make it to work. By enabling distcc the
> compile_commands.json no longer call clang but distcc instead and
> YouCompleteMe doean't like that. That's as far that I got...
>
> Dimitris
>
> On Wed, Nov 16, 2016 at 9:21 AM, Jim Apple <jb...@cloudera.com> wrote:
> > bin/run_clang_tidy.sh uses compile_commands.json and it works with
> distcc on.
> >
> > On Wed, Nov 16, 2016 at 9:13 AM, Matthew Jacobs <mj...@cloudera.com> wrote:
> >> Hi all,
> >>
> >> Do any vim/YouCompleteMe users (or anyone else using the
> >> compile_commands.json) have issues after enabling distcc? I've found
> >> my vim completion (via YouCompleteMe) no longer works.
> >>
> >> I'm curious to know if anyone has any workarounds or suggestions.
> >>
> >> Thanks
>
Re: compile_commands issues after using distcc?
Posted by Dimitris Tsirogiannis <dt...@cloudera.com>.
I tried it but couldn't make it to work. By enabling distcc the
compile_commands.json no longer call clang but distcc instead and
YouCompleteMe doean't like that. That's as far that I got...
Dimitris
On Wed, Nov 16, 2016 at 9:21 AM, Jim Apple <jb...@cloudera.com> wrote:
> bin/run_clang_tidy.sh uses compile_commands.json and it works with distcc on.
>
> On Wed, Nov 16, 2016 at 9:13 AM, Matthew Jacobs <mj...@cloudera.com> wrote:
>> Hi all,
>>
>> Do any vim/YouCompleteMe users (or anyone else using the
>> compile_commands.json) have issues after enabling distcc? I've found
>> my vim completion (via YouCompleteMe) no longer works.
>>
>> I'm curious to know if anyone has any workarounds or suggestions.
>>
>> Thanks
Re: compile_commands issues after using distcc?
Posted by Jim Apple <jb...@cloudera.com>.
bin/run_clang_tidy.sh uses compile_commands.json and it works with distcc on.
On Wed, Nov 16, 2016 at 9:13 AM, Matthew Jacobs <mj...@cloudera.com> wrote:
> Hi all,
>
> Do any vim/YouCompleteMe users (or anyone else using the
> compile_commands.json) have issues after enabling distcc? I've found
> my vim completion (via YouCompleteMe) no longer works.
>
> I'm curious to know if anyone has any workarounds or suggestions.
>
> Thanks