Skip to contentSkip to conversation

New: CCACHE initialization

Buildroot bugzilla at busybox.net 1 participant 4 messages Oct 13, 2015

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=8396

Summary: CCACHE initialization
Product: buildroot
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: sv99 at inbox.ru
CC: buildroot at uclibc.org
Estimated Hours: 0.0

In the Makefile

372: ifeq ($(BR2_CCACHE),y)
373 CCACHE := $(HOST_DIR)/usr/bin/ccache

$(HOST_DIR) ???

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 8396] CCACHE initialization

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=8396

--- Comment #2 from sv99 <[email protected]> 2015-10-13 07:55:57 UTC --- Created attachment 6181
--> https://bugs.busybox.net/attachment.cgi?id=6181
patch

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 8396] CCACHE initialization

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=8396

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #3 from Thomas Petazzoni <[email protected]> 2015-10-13 08:06:20 UTC --- Thanks for your bug report.

However, your patch is incorrect: we don't want to use /usr/bin/ccache, but the ccache that Buildroot builds in $(HOST_DIR). So the current code is perfectly correct.

HOST_DIR is defined in the main Makefile:

HOST_DIR := $(BASE_DIR)/host

If you have an issue with the ccache support, could you instead report 1/ the Buildroot configuration you've used and 2/ the last ~100 lines of build output. This way we can see if there is indeed something broken in Buildroot or some other issue.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.