Re: cpluspluscheck vs vpath - Mailing list pgsql-hackers

From Andres Freund
Subject Re: cpluspluscheck vs vpath
Date
Msg-id 20190530220407.sx37tgh2akonb23d@alap3.anarazel.de
Whole thread Raw
In response to cpluspluscheck vs vpath  (Andres Freund <andres@anarazel.de>)
Responses Re: cpluspluscheck vs vpath  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Hi,

On 2019-05-30 15:02:44 -0700, Andres Freund wrote:
> right now cpluspluscheck doesn't work with vpath builds. That's pretty
> annoying, because it does require cloning the git tree into a separate
> directory + doing configure there just to run cpluspluscheck.
> 
> Attached is a small patch allowing cpluspluscheck to run from different
> directories. I needs the src and build directories for that,
> unsurprisingly.
> 
> As that makes it more complicated to invoke, I added a makefile target
> (in the top level) for it.
> 
> Seems we could round the edges a good bit further than what's done in
> the attached (argument checking, for example, but also using the C++
> compiler from configure). But I think this would already be an
> improvement?

Ugh, sent the previous email too early.

Greetings,

Andres Freund

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: cpluspluscheck vs vpath
Next
From: Alvaro Herrera
Date:
Subject: Re: cpluspluscheck vs vpath