ccache for Windows

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ccache for Windows

Tito-12

The compilation of Thunderbird in Linux is so much faster when ccache is
also part of the compilation process. Thus I was wondering if there is a
way to compile thundebird/firefox with some kind of a caching system for
windows that will speed up the process. What I mean here is it does not
have to be ccache, although in my opinion ccache is doing great job.

I have found a guide ( https://developer.mozilla.org/en/ccache ) how to
enable ccache for mac and Linux however there is nothing mentioned for
windows. Does something like that already exists? Mybe someone have
tried ccache compilation with cygwin , msys or something similar and was
using ccache simultaneously.

I have read about IncrediBuild  however I have never used this software
before and was wondering if it could be used at all together with
comm-central. Or there is another way to speed up the compilation in
windows. I do not mean distcc  or redirecting stdout.


Regards,

Konstantin
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|

Re: ccache for Windows

Philip Chee
On 05/11/2012 22:37, Tito wrote:

>
> The compilation of Thunderbird in Linux is so much faster when ccache is
> also part of the compilation process. Thus I was wondering if there is a
> way to compile thundebird/firefox with some kind of a caching system for
> windows that will speed up the process. What I mean here is it does not
> have to be ccache, although in my opinion ccache is doing great job.
>
> I have found a guide ( https://developer.mozilla.org/en/ccache ) how to
> enable ccache for mac and Linux however there is nothing mentioned for
> windows. Does something like that already exists? Mybe someone have
> tried ccache compilation with cygwin , msys or something similar and was
> using ccache simultaneously.
>
> I have read about IncrediBuild  however I have never used this software
> before and was wondering if it could be used at all together with
> comm-central. Or there is another way to speed up the compilation in
> windows. I do not mean distcc  or redirecting stdout.
>
>
> Regards,
>
> Konstantin

According to google there are a couple of (pretty dead) forks that claim
to port ccache to windows:

<http://gitorious.org/ccache-win>
<http://code.google.com/p/ccache-win32/>

Perhaps someone can see if the patches from those two forks can be
updated to work in the current ccache.
<http://code.google.com/p/ccache-win32/wiki/WhyNativeWin32Ccache>

There is also something called clcache.py:
<https://github.com/frerich/clcache>
See also: https://bugzilla.mozilla.org/show_bug.cgi?id=689157
Bug 689157 - Add support for building with clcache/ccache on Windows
RESOLVED FIXED

I've never tried any of them so caveat emptor.

Phil

--
Philip Chee <[hidden email]>, <[hidden email]>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|

Re: ccache for Windows

Tito-12
Thanks Phil,

I will give clcache.py  this weekend a try. It is also interesting to
know how Mozilla is doing the their builds. Do Mozilla use some sort of
cache for their build or they are using cross compile from linux for
windows etc. I would like to setup my environment as close as possible
to that of what mozilla uses. Anyone form mozilla? I can imagene it is
some coplicated system however info on that subject would be helpfull
for evryone. Even to the newcomers to Thunderbird like me :)
What i mean is i have read the guides from compiling firefox with CDT,
Visual studio and Netbeans, however it is always the best to start with
the one that is beeing used much often and tested ten times more then
the other solutions. Anyone from Mozilla?

Regards,

Konstantin


On 06.11.2012 13:00, Philip Chee wrote:

> On 05/11/2012 22:37, Tito wrote:
>>
>> The compilation of Thunderbird in Linux is so much faster when ccache is
>> also part of the compilation process. Thus I was wondering if there is a
>> way to compile thundebird/firefox with some kind of a caching system for
>> windows that will speed up the process. What I mean here is it does not
>> have to be ccache, although in my opinion ccache is doing great job.
>>
>> I have found a guide ( https://developer.mozilla.org/en/ccache ) how to
>> enable ccache for mac and Linux however there is nothing mentioned for
>> windows. Does something like that already exists? Mybe someone have
>> tried ccache compilation with cygwin , msys or something similar and was
>> using ccache simultaneously.
>>
>> I have read about IncrediBuild  however I have never used this software
>> before and was wondering if it could be used at all together with
>> comm-central. Or there is another way to speed up the compilation in
>> windows. I do not mean distcc  or redirecting stdout.
>>
>>
>> Regards,
>>
>> Konstantin
>
> According to google there are a couple of (pretty dead) forks that claim
> to port ccache to windows:
>
> <http://gitorious.org/ccache-win>
> <http://code.google.com/p/ccache-win32/>
>
> Perhaps someone can see if the patches from those two forks can be
> updated to work in the current ccache.
> <http://code.google.com/p/ccache-win32/wiki/WhyNativeWin32Ccache>
>
> There is also something called clcache.py:
> <https://github.com/frerich/clcache>
> See also: https://bugzilla.mozilla.org/show_bug.cgi?id=689157
> Bug 689157 - Add support for building with clcache/ccache on Windows
> RESOLVED FIXED
>
> I've never tried any of them so caveat emptor.
>
> Phil
>

_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|

Re: ccache for Windows

jrlogicle
In reply to this post by Philip Chee
A newer entry includes Stashed. When paired up with Incredibuild, it works a lot like the old ccache+distcc configurations on Linux, but works with Visual Studio.
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird