[Bug 277189] devel/cmake-core: add NO_CCACHE handle to allow disable ccache build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 20 14:22:05 GMT 2024


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277189

            Bug ID: 277189
           Summary: devel/cmake-core: add NO_CCACHE handle to allow
                    disable ccache build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: rozhuk.im at gmail.com
          Assignee: kde at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)

Created attachment 248637
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248637&action=edit
patch

Typically WITH_CCACHE_BUILD env var used together with NO_CCACHE:

/usr/ports/Mk/bsd.ccache.mk:.  if !defined(NO_CCACHE) &&
defined(WITH_CCACHE_BUILD) && !${CC:M*ccache*} && \
/usr/ports/graphics/darktable/Makefile:.if "${WITH_CCACHE_BUILD}" == "yes" &&
!defined(NO_CCACHE)
/usr/ports/graphics/rawtherapee/Makefile:.if "${WITH_CCACHE_BUILD}" == "yes" &&
!defined(NO_CCACHE)
/usr/ports/lang/rust-bootstrap/Makefile:.if defined(WITH_CCACHE_BUILD) &&
!defined(NO_CCACHE)
/usr/ports/lang/rust/Makefile:.if defined(WITH_CCACHE_BUILD) &&
!defined(NO_CCACHE)
/usr/ports/misc/valentina/Makefile:.if !defined(WITH_CCACHE_BUILD) ||
defined(NO_CCACHE)
/usr/ports/net-im/telegram-desktop/Makefile:.if defined(WITH_CCACHE_BUILD) &&
!defined(NO_CCACHE)


This allow define NO_CCACHE in env where no ccache installed but
WITH_CCACHE_BUILD set in make.conf (it depend from cmake-core) to bootstrap
ccache.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list