pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: building with ccache w/gcc4.8



Richard PALO <richard.palo%free.fr@localhost> writes:

> PKGSRC_COMPILER= ccache gcc
> CCACHE_DIR=   ${WRKOBJDIR}/.ccache
>
> where WRKOBJDIR=/var/tmp/pkgsrc

I use ccache with pkgsrc all the time.  But I use
  CCACHE_DIR=           /home/gdt/.ccache
instead.

So I sugggest:

   set CCACHE_DIR to a directory that is permanent (no tmp flavor)

   make sure it's writable by the user doing the build.

And I think this is a clue:

> [2013-08-13T18:20:27.911465 9563 ] Unsupported source extension:
> /var/tmp/pkgsrc/www/webkit-gtk3/work/.wrapper/specs.libgcc
> [2013-08-13T18:20:27.911487 9563 ] Failed; falling back to running
> the real compiler

Attachment: pgp0pW6GWPchL.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index