[Bug 284893] Fix ccache when ports has USES=llvm and USES=cmake
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284893] Fix ccache when ports has USES=llvm and USES=cmake"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284893] Fix ccache for ports that have USES=llvm and USES=cmake"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284893] Fix ccache for ports that have USES=llvm and USES=cmake"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284893] Fix ccache for ports that have USES=llvm and USES=cmake"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284893] Fix ccache for ports that have USES=llvm and USES=cmake"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284893] Fix ccache for ports that have USES=llvm and USES=cmake"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284893] Fix ccache for ports that have USES=llvm and USES=cmake"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284893] Fix ccache for ports that have USES=llvm and USES=cmake"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284893] Fix ccache for ports that have USES=llvm and USES=cmake"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284893] Fix ccache for ports that have USES=llvm and USES=cmake"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284893] Fix ccache for ports that have USES=llvm and USES=cmake"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284893] Fix ccache for ports that have USES=llvm and USES=cmake"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284893] Fix ccache for ports that have USES=llvm and USES=cmake"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284893] Fix ccache for ports that have USES=llvm and USES=cmake"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284893] Fix ccache for ports that have USES=llvm and USES=cmake"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284893] Fix ccache for ports that have USES=llvm and USES=cmake"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Feb 2025 06:28:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284893
Bug ID: 284893
Summary: Fix ccache when ports has USES=llvm and USES=cmake
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 257644
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=257644&action=edit
patch
Currently ccache doesn't work when USES contains both llvm and cmake.
The reason that ccache works without USES=llvm is that CXX=c++ in such case and
bsd.ccache.mk adds the directory with ccache-provided c++ into PATH.
USES=llvm causes CXX to have the full path to the compiler executable, and the
PATH method doesn't work.
The attached patch adds ccache to cmake launchers when USES=llvm which fixes
ccache in these cases.
--
You are receiving this mail because:
You are on the CC list for the bug.