Closed Bug 1164614 Opened 10 years ago Closed 9 years ago

Use ccache properly in desktop/android builds in TC

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: dustin, Assigned: dustin)

References

Details

Attachments

(1 obsolete file)

These tasks currently use /builds/ccache, which does not persist from container to container, so it affords no inter-job caching. I think this just entails adding another docker-worker:cache:* scope and mount.
Attached file MozReview Request: bz://1164614/dustin (obsolete) —
/r/9377 - Bug 1164614: run ccache; r=mrrrgn /r/9379 - Bug 1168592: remove extra directory from tooltool cache mount; r=mrrrgn Pull down these commits: hg pull -r c81a69f86c07bcc76fab4873794fff02983d5c1c https://reviewboard-hg.mozilla.org/gecko/
Attachment #8610826 - Flags: review?(winter2718)
Comment on attachment 8610826 [details] MozReview Request: bz://1164614/dustin +1
Attachment #8610826 - Flags: review?(winter2718) → review+
Ugh, but mozharness overrides that env var: 22:12:38 DEBUG - ENV: CCACHE_DIR is now /builds/ccache
:mshal points out that it's not clear that ccache is a win anyway, and since this will be complicated to fix (requiring some backflips with special-casing in query_build_env) we should put this off until it's clear that it's useful -- likely sccache will be a better option.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Attachment #8610826 - Attachment is obsolete: true
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: