Re: failing to build preproc.c on solaris with sun studio

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: failing to build preproc.c on solaris with sun studio
Дата
Msg-id 1732827.1662303343@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: failing to build preproc.c on solaris with sun studio  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: failing to build preproc.c on solaris with sun studio  (Noah Misch <noah@leadboat.com>)
Re: failing to build preproc.c on solaris with sun studio  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> On 2022-09-04 Su 09:56, Tom Lane wrote:
>> You would need to make the ecpg-check step
>> conditional, though, so it's moot: we'd have to fix the buildfarm
>> first in any case, unless it's default-enabled which would seem
>> a bit odd.

> *nod*

I guess we could proceed like this:

1. Invent the --with option.  Temporarily make "make check" in ecpg
print a message but not fail if the option wasn't selected.

2. Update buildfarm client to recognize the option and skip ecpg-check
if not selected.

3. Sometime down the road, after everyone's updated their buildfarm
animals, flip ecpg "make check" to throw an error reporting that
ecpg wasn't built.


There'd need to be a separate discussion around how much to
encourage buildfarm owners to add --with-ecpg to their
configurations.  One thing that would make that easier is
adding --with-ecpg as a no-op option to the back branches,
so that if you do want it on it doesn't have to be done
with a branch-specific test.  (I guess packagers might
appreciate that too.)

            regards, tom lane



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: failing to build preproc.c on solaris with sun studio
Следующее
От: Noah Misch
Дата:
Сообщение: Re: failing to build preproc.c on solaris with sun studio