[Qt-creator] Sensible make -j X?

Miller Henry MillerHenry at JohnDeere.com
Thu Oct 22 21:50:30 CEST 2015


That is right for you - I have a massive build farm (look into icecc, distcc, or a commercial equivalent - they are awesum), -j 80 is the sweet stop for me.  I like that Qt Creator stays with -j 1 by default because I notice right away that my build is only spinning off one job and I cancel and fix it.  If qt creator defaulted to -j8 I wouldn't notice until several minutes later when I'm trying to figure out why my build isn't done yet.


-----Original Message-----
From: qt-creator-bounces+millerhenry=johndeere.com at qt-project.org [mailto:qt-creator-bounces+millerhenry=johndeere.com at qt-project.org] On Behalf Of Jason H
Sent: Thursday, October 22, 2015 12:17 PM
To: qt-creator
Subject: [Qt-creator] Sensible make -j X?

In this world, where both phones and computers are averaging 4 cores (or more) does it make sense to ever not default make to 1 thread? I can understand that some situations can't have multi-threaded builds, but I believe they are in the minority now. I find that a good value for -j is N*2 where N is the number of cores (since there is a lot of i/o delay from loading all the headers)

It would be nice if this was populated from the get-go. I believe it's stored in the .user file? Is there a way to set it in the .pro file? I work in iOS/Android/Desktop, so it's kinda silly to have to set this 6 times (debug/release) in the same project!

_______________________________________________
Qt-creator mailing list
Qt-creator at qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator



More information about the Qt-creator mailing list