[Qt-creator] Sensible make -j X?
Tobias Hunger
tobias.hunger at gmail.com
Fri Oct 23 07:41:10 CEST 2015
So set MAKEFLAGS appropriately in your shell?
That effects both Creator and the command line. That is better than a Qt
Creator specific setting IMHO.
Beat Regards,
Tobias
Am 22.10.2015 23:30 schrieb "Jason H" <jhihn at gmx.com>:
> That's my problem as well. But be it 8 or 80, anything is better than the
> default of 1. Your example of 1 and it taking forever is the same as me for
> my size of projects.
>
> I can't argue that everyone has 80 cores available, but I can argue that 8
> is more reasonable than 1.
>
> > Sent: Thursday, October 22, 2015 at 3:50 PM
> > From: "Miller Henry" <MillerHenry at JohnDeere.com>
> > To: "Jason H" <jhihn at gmx.com>, qt-creator <qt-creator at qt-project.org>
> > Subject: RE: [Qt-creator] Sensible make -j X?
> >
> > 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
> >
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20151023/614c28b4/attachment.html>
More information about the Qt-creator
mailing list