Re: --enable-ccache configure option

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: --enable-ccache configure option
Date: 2018-05-04 21:14:05
Message-ID: 20180504211405.w42dhvodykouzoan@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund wrote:

> > On Fri, May 4, 2018 at 1:58 PM, Andres Freund <andres(at)anarazel(dot)de> wrote:

> > > ISTM --enable-ccache would simplify setup for a number of people? And it
> > > shouldn't be hard to implement.
> >
> > 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.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mike Blackwell 2018-05-04 21:28:10 Re: pgsql: Fix precedence problem in new Perl code.
Previous Message Andrew Dunstan 2018-05-04 21:13:28 Re: --enable-ccache configure option