cpluspluscheck vs vpath

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org, Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: cpluspluscheck vs vpath
Date: 2019-05-30 22:02:44
Message-ID: 20190530220244.kiputcbl4gkl2oo6@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

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 I think this would
already be an improvement?

Greetings,

Andres Freund

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2019-05-30 22:04:07 Re: cpluspluscheck vs vpath
Previous Message Michael Paquier 2019-05-30 21:55:47 Re: New committer: David Rowley