[Bug 244532] www/chromium - Makefile.local contrib for ensuring ccache is used during build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Apr 2024 13:54:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244532
Denis Shaposhnikov <dsh@bamus.cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dsh@bamus.cz
--- Comment #2 from Denis Shaposhnikov <dsh@bamus.cz> ---
my temporary (I hope it is temporary) solution is using custom bsd.overlay.mk:
.if !defined(_DSH_OVERLAY_INCLUDED)
_DSH_OVERLAY_INCLUDED= yes
.if defined(WITH_CCACHE_BUILD) && !defined(NO_CCACHE)
# From bsd.ccache.mk, because it isn't included yet. The system includes
# bsd.ccache.mk after bsd.overlay.mk.
. if defined(CCACHE_WRAPPER_PATH)
CCACHE_PKG_PREFIX= ${CCACHE_WRAPPER_PATH:C,/libexec/ccache$,,}
. endif
CCACHE_PKG_PREFIX?= ${LOCALBASE}
CCACHE_WRAPPER_PATH?= ${CCACHE_PKG_PREFIX}/libexec/ccache
CCACHE_BIN?= ${CCACHE_PKG_PREFIX}/bin/ccache
. if ${.CURDIR:M*/www/ungoogled-chromium}
#
https://chromium.googlesource.com/chromium/src.git/+/master/docs/ccache_mac.md#use-with-gn
GN_ARGS+= cc_wrapper="${SETENV} CCACHE_SLOPPINESS=time_macros
${CCACHE_BIN}"
. endif
.endif # defined(WITH_CCACHE_BUILD) && !defined(NO_CCACHE)
.endif # !defined(_DSH_OVERLAY_INCLUDED)
and build it using poudriere with my own overlay ports tree.
--
You are receiving this mail because:
You are the assignee for the bug.