Closed Bug 1687930 Opened 5 years ago Closed 5 years ago

Changes to Mailnews IDL files cause massive recompile

Categories

(Thunderbird :: Build Config, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1658188

People

(Reporter: klaus.bartosch, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36

Steps to reproduce:

Change an IDL file in mailnews, for example mailnews/base/public/nsIMsgIdentity.idl or mailnews/base/public/nsIMessenger.idl.
mach build

Actual results:

Most Mozilla code was recompiled, like dom, gfx, intl, ipc, layout, netwerk, security, toolkit, uriloader, widget, xpcom, media, etc.

Expected results:

Only the comm-central code affected by the IDL change should have been recompiled.

This vastly slows down the development cycle since instead of a few minutes, it now takes 20 minutes, not to mention the additional cost of electricity.

Oh, I wasn't aware of that bug. AFAIK (s)ccache is not available on Windows. Sadly right now I'm waiting for a 20 min rebuild since I changed an IMAP IDL :-(

In fact sccache is available and works for me on Windows. You just have to enable it in your mozconfig.

See: https://firefox-source-docs.mozilla.org/build/buildsystem/sccache-dist.html

Compiling from a Windows client is supported but [...]

Thanks, I'll try it.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.