Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2008 01:32:20 +0100
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Standardize NO_CCACHE flag and ccache definitions
Message-ID:  <20080621013220.2b84413e@gumby.homeunix.com.>
In-Reply-To: <20080618212716.GA61331@rwxrwxrwx.net>
References:  <20080618125154.GC90685@k7.mavetju> <20080618212716.GA61331@rwxrwxrwx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Jun 2008 23:27:16 +0200
Martin Tournoij <carpetsmoker@rwxrwxrwx.net> wrote:


> There are some ports which refuse to compile with ccache, these all
> seem to be projects which use scons, unlike make, scons does not copy
> the user's environment automatically, and the required environment
> variables for ccache (like CCACHE_DIR) aren't present, which leads to
> build failure, an example is games/freera.
> 
> I'm not that familiar with scons, and what exactly the "proper way" is
> to handle this sort of stuff in scons, 

I don't have any experience with scons, but I did used to use cons.
IIRC cons expects to do the caching itself. Since it already generates a
hash that can be used to label the correct object file, it pretty much
comes for free and running ccache would just duplicate the overheads. I
think it's probable that there isn't a "proper way".



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