Re: make coverage-html would fail within build directory separate from source tree

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: walker <failaway(at)qq(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: make coverage-html would fail within build directory separate from source tree
Date: 2021-03-04 15:21:41
Message-ID: 1360053.1614871301@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
> Hmm, my build dir is not inside the source dir -- is yours?

I recall that the gcc build instructions strongly warn against that
sort of setup. Maybe we should too?

Actually, our build instructions already say this specifically:

You can also run configure in a directory outside the source tree, and
then build there, if you want to keep the build directory separate
from the original source files. This procedure is called a VPATH
build ...

Maybe "outside the source tree" needs to be emphasized a bit more.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Isaac Morland 2021-03-04 15:21:46 Re: [PATCH] Support empty ranges with bounds information
Previous Message Tom Lane 2021-03-04 15:16:49 Re: Increase value of OUTER_VAR