Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Sep 2022 06:56:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 266310] Mk/bsd.ccache.mk: Add CCACHE_ENABLED variable for ports' convenience
Message-ID:  <bug-266310-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 266310
           Summary: Mk/bsd.ccache.mk: Add CCACHE_ENABLED variable for
                    ports' convenience
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: yuri@freebsd.org
                CC: ports-bugs@FreeBSD.org

Created attachment 236447
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D236447&action=
=3Dedit
patch

bsd.ccache.mk can disable ccache in some situations.
Ports should be able to know when ccache is enabled but there is no single
variable for this.

I propose that bsd.ccache.mk would always set the variable CCACHE_ENABLED w=
ith
values yes/no.

For example, cmake based ports would be able to pass it to cmake:
> CMAKE_ARGS+=3D-DUSE_CCACHE:BOOL=3D${CCACHE_ENABLED:tu}

Currently there is no easy way to do this.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266310-7788>