From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Daniel Black <daniel(dot)black(at)au1(dot)ibm(dot)com> |
Cc: | pgbuildfarm-members(at)lists(dot)pgfoundry(dot)org |
Subject: | Re: [Pgbuildfarm-members] new build members |
Date: | 2016-09-08 13:18:38 |
Message-ID: | dba20851-2037-9806-f424-c94f3493b39e@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | buildfarm-members |
On 09/07/2016 10:12 PM, Tom Lane wrote:
> Daniel Black <daniel(dot)black(at)au1(dot)ibm(dot)com> writes:
>> I've configured a bunch of builds to add to the build farm. The list is:
> Hi Daniel! Thanks for bringing all those new critters online.
> However, may I suggest that the ccache+clang ones would be a lot more
> useful if you added this to their configuration:
>
> build_env =>{
>
> + # needed to make ccache play nice with clang
> + CCACHE_CPP2 => '1',
>
> Lack of this option is what's causing a lot of those useless warnings
> (it has to do with clang being fed preprocessor output, which triggers
> some of its more dubious warning heuristics). I think this has become
> the default behavior as of ccache 3.3, but in older versions you gotta
> ask for it.
>
> As an example of the importance of this,
> http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=devario&dt=2016-09-08%2000%3A44%3A53&stg=make
> contains something north of 1000 warnings, most of which are entirely
> bogus. Makes it hard to see if there are any that are meaningful.
As of ccache version 3.3.1 this is apparently the default - see
<https://ccache.samba.org/manual.html>
I guess I should put it in the sample config file to cater for older
versions (e.g. my Fedora machine has 3.2.3 where it is apparently not
the default).
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Black | 2016-09-09 06:07:39 | [Pgbuildfarm-members] docker instances of pgbuildfarm |
Previous Message | Tom Lane | 2016-09-08 02:12:09 | Re: [Pgbuildfarm-members] new build members |