Changes to Mailnews IDL files cause massive recompile
Categories
(Thunderbird :: Build Config, defect)
Tracking
(Not tracked)
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.
Comment 1•5 years ago
|
||
See also: Bug 1658188
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 :-(
Comment 3•5 years ago
|
||
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.
Description
•