[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: building with ccache w/gcc4.8
Le 13/08/13 20:31, Greg Troxel a écrit :
Richard PALO <richard.palo%free.fr@localhost> writes:
PKGSRC_COMPILER= ccache gcc
I use ccache with pkgsrc all the time. But I use
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:
[2013-08-13T18:20:27.911487 9563 ] Failed; falling back to running
the real compiler
I believe my CCACHE_DIR setting is appropriate in this case, as
/var/tmp/pkgsrc survives reboots but is reserved for pkgsrc. I'll keep
$HOME/.ccache for non-pkgsrc builds.
Indeed, I believe there is something to do with the extension as
indicated in my original post. I tried a couple of other packages all
to the same effect. Does anybody have this working?
What I do notice from the ccache.c source code (and, for that matter the
"Using the GNU Compiler Collection") is that the syntax supported for
spec-files is '-spec=file' and not '-spec file'.
Can't seem to find in mk/* where to change the generation of this syntax...
Main Index |
Thread Index |