Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Sep 2014 14:52:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 193974] New: Configuring make.conf with CC, CXX, and CPP overrides doesn't respect WITH_CCACHE_BUILD
Message-ID:  <bug-193974-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193974

            Bug ID: 193974
           Summary: Configuring make.conf with CC, CXX, and CPP overrides
                    doesn't respect WITH_CCACHE_BUILD
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: Infrastructure
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: antiduh@csh.rit.edu

I've enabled ccache for ports by adding the following to my /etc/make.conf
file:

> # Use ccache to reduce compilation times
> WITH_CCACHE_BUILD=yes
> CCACHE_DIR=/space/ccache


Recently, I decided to switch to clang35 for the sake of seeing how well it
would work, so my /etc/make.conf file became this:

> # Use ccache to reduce compilation times
> WITH_CCACHE_BUILD=yes
> CCACHE_DIR=/space/ccache

> # Use ports clang35 as the default compiler
> CC=/usr/local/bin/clang35
> CXX=/usr/local/bin/clang++35
> CPP=/usr/local/bin/clang-cpp35

I noticed that after adding the CC.. lines to use clang35, ccache stopped
getting used - none of the stats were incrementing.

Everything keeps compiling all the same, but I'd be great if I could configure
both and have it work as expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.



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