CCACHE and openJDK issues

RW rwmaillists at
Sat Feb 27 14:10:05 UTC 2016

On Sat, 27 Feb 2016 07:20:57 -0600
dweimer wrote:

> I recently started using CCACHE on my systems to speed up builds. I
> ma having a problem now trying to build openjdk8.
> I have the following in /etc/make.conf
> # Enable CCACHE
> .if !defined(NO_CCACHE)
>    CC=  /usr/local/libexec/ccache/world/cc
>    CXX= /usr/local/libexec/ccache/world/c++
> .endif
> .if ${.CURDIR:M*/ports/devel/ccache}
>    NO_CCACHE= yes
> .endif

Something may have changed, but the lines added to make.conf have in the
past been intended purely for base-system builds. Yours aren't

I think these days the ports system has its own support for ccache, or
you can opt to have the ccache port install symlinks for each compiler
if you prefer.

I'd start by commenting-out those lines.

More information about the freebsd-questions mailing list