Re: --enable-ccache configure option - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: --enable-ccache configure option
Date
Msg-id 20180504211405.w42dhvodykouzoan@alvherre.pgsql
Whole thread Raw
In response to Re: --enable-ccache configure option  (Andres Freund <andres@anarazel.de>)
Responses Re: --enable-ccache configure option  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Andres Freund wrote:

> > On Fri, May 4, 2018 at 1:58 PM, Andres Freund <andres@anarazel.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


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: --enable-ccache configure option
Next
From: Alvaro Herrera
Date:
Subject: perlcritic (was Re: pgsql: Fix precedence problem in new Perl code.)