Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2016 14:09:57 +0000
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: CCACHE and openJDK issues
Message-ID:  <20160227140957.7fb2a62f@gumby.homeunix.com>
In-Reply-To: <ff9a36be1ee5ba1587e2aeab8fc50a8f@dweimer.net>
References:  <ff9a36be1ee5ba1587e2aeab8fc50a8f@dweimer.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> WITH_CCACHE_BUILD= yes
> .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
conditional. 

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160227140957.7fb2a62f>