Re: vpath build (was Re: cvsignore)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: vpath build (was Re: cvsignore)
Дата
Msg-id 4219.1074973566@sss.pgh.pa.us
обсуждение исходный текст
Ответ на vpath build (was Re: cvsignore)  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Ответы Re: vpath build (was Re: cvsignore)  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список pgsql-hackers
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> I am currently building outside the source tree so that I don't have
> these problems.  It works fine, except that some files are created in
> the source tree anyway.  I think it's mostly output from bison and flex:

That's intentional, although it might not be necessary to do it that way
(when building a distribution tarball, we do or can build within the
source tree).  One advantage of doing it like this in a vpath build is
that those files are the same across all architectures and so you don't
need to build them again for each one ... but of course, if you're not
using vpath to handle multiple architecture builds then you don't care.
Personally I don't use vpath much and don't really care if we change
that behavior --- any other opinions out there?

> Also, the regression tests can be run fine with "make installcheck", but
> if I want to run the parallel schedule, I have to point pg_regress to
> the source dir.  Maybe the file could be copied to the build dir ...

That's an oversight, surely; but ISTM it worked last time I tried it.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: cvsignore
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: vpath build (was Re: cvsignore)