Re: ccache is required by postgresql12-devel RPM - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: ccache is required by postgresql12-devel RPM
Date
Msg-id 20200307182043.GA9733@momjian.us
Whole thread Raw
In response to ccache is required by postgresql12-devel RPM  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Responses Re: ccache is required by postgresql12-devel RPM  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, Jan 30, 2020 at 08:36:17PM +0900, Kyotaro Horiguchi wrote:
> Hello.
> 
> # I'm not sure -hakcers is the place for this, though..
> 
> I notieced that the official PG12-devel RPM pacakge for RHEL8 mandates
> ccache being installed on building of an extension.
> 
> $ grep ccache /usr/pgsql-12/lib/pgxs/src/Makefile.global 
> CLANG = /usr/lib64/ccache/clang
> # ccache loses .gcno files
> 
> However it can be changed by explicitly setting CLANG, it seems that
> that setting is by accident since gcc is not ccachi'fied. Anyway, I'm
> not sure but, I think that that decision should be left with extension
> developers. Is it intentional?

That certainly seems wrong.  Is it this URL?

    https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm

CC'ing Devrim.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +



pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: pg_ls_tmpdir to show directories and shared filesets
Next
From: Tom Lane
Date:
Subject: Re: More tests to stress directly checksum_impl.h