[Bug 193974] New: Configuring make.conf with CC, CXX, and CPP overrides doesn't respect WITH_CCACHE_BUILD

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 27 14:52:51 UTC 2014


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 at FreeBSD.org
          Reporter: antiduh at 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.


More information about the freebsd-ports-bugs mailing list