Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2024 13:54:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        chromium@FreeBSD.org
Subject:   [Bug 244532] www/chromium - Makefile.local contrib for ensuring ccache is used during build
Message-ID:  <bug-244532-28929-wgjOsJqx0L@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244532-28929@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244532-28929@https.bugs.freebsd.org/bugzilla/>

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

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=3D  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=3D      ${CCACHE_WRAPPER_PATH:C,/libexec/ccache$,,}
.  endif
CCACHE_PKG_PREFIX?=3D     ${LOCALBASE}
CCACHE_WRAPPER_PATH?=3D   ${CCACHE_PKG_PREFIX}/libexec/ccache
CCACHE_BIN?=3D            ${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+=3D       cc_wrapper=3D"${SETENV} CCACHE_SLOPPINESS=3Dtime_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.

--=20
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-244532-28929-wgjOsJqx0L>