Speed up compilation process?!
Is there any possibility to speed up the compilation process of MuseScore? Can anybody recommend tools such as ccache when compiling MuseScore (github)? My old machine needs about half an hour each time...
Thanks for your reply.
Comments
On which OS?
In reply to On which OS? by [DELETED] 5
Linux
Just so you know, a full re-compile on my quite new Windows 8.1 box (quad core i7-3770 @3.4Ghz) takes 34 minutes. It used to be much longer on similar hardware with the old plug-in system.
In reply to Just so you know, a full by schepers
That's interesting. On my 32bit system with its relatively slow processor (Intel® Core™2 Duo CPU L7500 @ 1.60GHz × 2) it takes just about 30 min. (running Linux)
In reply to That's interesting. On my by jschwalm
The current code on Windows can't use precompiled headers because of a bug in MinGW gcc with large precompiled headers... and so it's slow. Even with precompiled headers, it was slower than on Linux. See http://dev-list.musescore.org/Qt-5-2-and-MuseScore-td7578529.html
On linux, with the same hardware, it should be several times faster than on Windows. I never tried ccache. If linking takes a lot of time, you might want to try the gold linker if it's not the default.
Then it's all about your CPU and your disk speed...
In reply to The current code on Windows by [DELETED] 5
Thanks for your explanation. Linking doesn't take that much time, probably only about 10%. Perhaps I'll try ccache.
Thanks again!
In reply to Thanks for your explanation. by jschwalm
Let us know how ccache works for you if you do try it.
In reply to Let us know how ccache works by [DELETED] 5
Hi lasconic, I have tested ccache a little - where shall I preferably note down my experiences? Simply in this thread?
In reply to Hi lasconic, I have tested by jschwalm
Sure, this thread is good for start. Or create a new forum post. We can move it to developer handbook later on. Do you have good results?
Linux