Re: --enable-ccache configure option

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: --enable-ccache configure option
Дата
Msg-id 19709.1525472491@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: --enable-ccache configure option  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Andres Freund wrote:
>>> What exactly would it do? I use ccache all the time, have for years,
>>> but it's not clear to me what can usefully be done by configure.

>> Use ccache without having to set it up individually for CC, CLANG, CXX.

> Umm, I just add /usr/lib/ccache somewhere in PATH (ahead of the compiler
> binaries) which is enough to make it all work.

On my preferred distros (ie Red Hat), ccache is used automatically;
there is nothing that needs to be done in configure AFAIK.  (It looks
like this happens by dint of the same thing Alvaro mentions, ie the
standard PATH has /usr/lib(64)?/ccache in front of the actual compilers.)
It'd be important not to break such setups in trying to make it happen
elsewhere.

            regards, tom lane


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