Summary: | Configuring make.conf with CC, CXX, and CPP overrides doesn't respect WITH_CCACHE_BUILD | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Kevin Thompson <antiduh> |
Component: | Ports Framework | Assignee: | Port Management Team <portmgr> |
Status: | Closed Feedback Timeout | ||
Severity: | Affects Some People | CC: | bdrewery, portmgr, vsasjason |
Priority: | --- | Keywords: | needs-qa |
Version: | Latest | Flags: | koobs:
maintainer-feedback?
(portmgr) |
Hardware: | Any | ||
OS: | Any |
Description
Kevin Thompson
2014-09-27 14:52:51 UTC
The WITH_CCACHE_BUILD prepends PATH to /usr/local/libexec/ccache/ to use ccache. This allows using the symlinks in there to use the desired compiler. We don't modify CC, such as CC="/usr/local/bin/ccache /usr/local/bin/clang35", because many ports refuse to work with the embedded space. You can make this work by enabling the CLANGLINK option in devel/ccache and using: CC= clang35 CXX=clang++35 CPP=clang-cpp35 CCACHE_PATH= /usr/local/bin .export CCACHE_PATH # Export only works with FreeBSD 10+ We could potentially auto handle this in bsd.ccache.mk. (In reply to Bryan Drewery from comment #2) Is this still an issue? If so let's create a dependent issue. If not, close OBE or relevent resolution |