Re: [HACKERS] show precise repos version for dev builds?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [HACKERS] show precise repos version for dev builds?
Дата
Msg-id 20171012205555.sgvqag7esaswwedf@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [HACKERS] show precise repos version for dev builds?  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: [HACKERS] show precise repos version for dev builds?  (Fabien COELHO <fabien.coelho@mines-paristech.fr>)
Список pgsql-hackers
Hi,

On 2017-10-12 22:50:47 +0200, Fabien COELHO wrote:
> The make dependencies ensure that the header file is regenerated on each
> build with a phony target, and the C file is thus recompiled and linked into
> the executables on each build. It means that all executables are linked on
> each rebuild, even if not necessary, though.

That'd be quite painful, consider e.g. people using LTO.  If done right
however, that should be avoidable to some degree. When creating the
version file, only replace its contents if the contents differ - that's
just a few lines of scripting.

Greetings,

Andres Freund


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: [HACKERS] show precise repos version for dev builds?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] oversight in EphemeralNamedRelation support