From: "Mohammad Mirzadeh" <[email protected]>
To: "Cristian Adam" <[email protected]>
Cc: "Jason H" <[email protected]>, qt-creator <[email protected]>
Subject: Re: [Qt-creator] Sensible make -j X?
On Thursday, October 22, 2015, Cristian Adam <[email protected]> wrote:
On Oct 22, 2015 19:16, "Jason H" <[email protected]> wrote:
>
> 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!
>If you are using CMake you can switch to ninja instead of make.
Ninja automatically uses all of your machine's computing power.
Cheers,
Cristian.
--
Sent from Gmail Mobile
_______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
