summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2017-06-17 01:44:54 +0000
committerkamil <kamil@pkgsrc.org>2017-06-17 01:44:54 +0000
commitbcf98dccea822b1518021d46b9c7392e2be665ea (patch)
tree28d5fcd0c42bdc2f4f3224121af18d22cc91b7b0 /time
parent4681cb296600c9937af22166aede44fb6fc798a2 (diff)
downloadpkgsrc-bcf98dccea822b1518021d46b9c7392e2be665ea.tar.gz
Correct shadowing system compiler with a pkgsrc one in ccache
ccache needs to call real compiler and it detects it with looking in $PATH. In case of usage of /usr/local/bin/clang as the desired pkgsrc $CC option, it will be shadowed by /usr/pkg/bin/clang if someone will build it in as a package. Workaround the problem with setting CCACHE_PATH through PKGSRC_MAKE_ENV. Little bit overzelaously set it to ${CCPATH:H}:${CXXPATH:H}:${CPPATH:H}, just in case that they might be in different paths. To ensure that they are not shadowed in narrow cases, there is an option to rename clang to xclang or similar and use it this way in $PKG_CC. While there, introduce new user settable option: CCACHE_LOGFILE. If set, ccache logs to file specified in ${CCACHE_LOGFILE:Q}. +# CCACHE_LOGFILE +# If set to a file path, ccache will write information on what it is +# doing to the specified file. This is useful for tracking down +# problems. This fixes another set of problems building large projects like Clang, LLVM with ccache. Sponsored by <The NetBSD Foundation>
Diffstat (limited to 'time')
0 files changed, 0 insertions, 0 deletions