Speeding up compile time with mingw on win7 QT 4.8
-
As my project is growing, the compile time is also growing. I'm using jom and have verified that all cores are being used. However, CPU usage remains low.....it may spike to around 40 %, but most of the time it stays around 4%. Any suggestions or strategies?
-
Bye an SSD drive. Compiling Qt5 on 8-Core AMD FX with OCZ RevoDrive x3 and 32GB DDR3 RAM takes only 12 minutes(with webkit)....
But you can also optimize your project... Use precompiled headers in your project...
-
Did you try to use mingw32-make with option -j <n>?
At least with the 32/64 bit version of 4.7 it uses all cores during compilation showing a 100% CPU usage. Linking is only sequential, because it does all projects sequential. -
Thanks koahnig, that helped tremendously!
-
[quote author="AcerExtensa" date="1370515911"]
But you can also optimize your project... Use precompiled headers in your project...[/quote]AcerExtensa, could you please write more details about using precompiled headers?