From nobody Fri Sep 9 06:56:51 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MP6H813NWz4bwYs for ; Fri, 9 Sep 2022 06:56:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MP6H770LPz4QbC for ; Fri, 9 Sep 2022 06:56:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MP6H75q6Xz17TD for ; Fri, 9 Sep 2022 06:56:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2896ups9042982 for ; Fri, 9 Sep 2022 06:56:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2896upL4042981 for ports-bugs@FreeBSD.org; Fri, 9 Sep 2022 06:56:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266310] Mk/bsd.ccache.mk: Add CCACHE_ENABLED variable for ports' convenience Date: Fri, 09 Sep 2022 06:56:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662706612; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k3y5Vaxf860d9TedTMGcaQljZuvDB9YkwoFZtmmehco=; b=e8caC9rXqnaR14oo5DsWlZ5oivCvbMPzKRGv7p8XdOqyofsDXY+xgoS75Ru+8RINzMo7kj VqRWZKoFWfgfEbABjMFPiW79kPt9vk6ggW9zBwwNBDDp3pKSpiqPIHvm2zOtAvvJJ0MU6C GbZPfvtCKphHgbysTdAFrK1y+uHJePCVQsr1C35dSKzl/O2imaTYHB/ZJvYc8I+hQTkDXU pqqODSyHM+PoX6f6VbXfsn/5WtD7cySuVbRu+K+qV5Ro8zc/1MYREfXszL6L2yOm/nhuNu Ij7ETd9MSo6eEgz/+4IfcpMCAZEvB7iWfChHEBH2VJMTcoRhbigD+sH5eUtHqQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662706612; a=rsa-sha256; cv=none; b=FS4vfx/EPVQ2gCUAxyH84CWWUiWMHmaoHYMgXy/AkJZwnIutk6iwt/k7sxBtfh2vTEm/YW njv8HiPFGLEAPUZjb8IcKK2dtcBlrl8EcG5tPFRWd6167pwYuRUuHvruU7sEyoq4vhiK2l STXmpTkqC3OMS15WTXceOVsa/MQKlbKN5EtOlHGb4VyQa1vIF7MvwyeRu+A+Pdnjamm+Rl NLRbYjM0TSZl/StRBoW1u+jkLvOFNUnPKAyMG8rIHcvPaELpInxI805Dhw0JjMXKPkt04N jNJ9TP/Si6IfoqJwCA7RxikPFhDlGxKiM83KHlN1jGgdpeXjWrigyimWyKx6Xw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=