[Qt-creator] parallel processing in make
Coda Highland
coda at bobandgeorge.com
Fri Jul 16 14:08:15 CEST 2010
>> I can't imagine why Creator couldn't guess at a default value anyway;
>> just ask QThreadPool what the ideal number of threads is. :P
>
> Actually I can't imagine why make couldn't guess at a default value by checking the number of cores :P
>
> (Our little project ibjom, a replacement for nmake on Windows, does exactly that.)
But isn't that what QThread::idealThreadCount() DOES? :P
> Doesn't make automatically use all available cores if the 'j' argument is not set? I'm sure I read that somewhere.
Nooooo, without specifying an argument it runs as many parallel tasks
as possible, limited only by dependency tracking. Good way to choke a
system. Not a mistake I'll make twice.
/s/ Adam
More information about the Qt-creator-old
mailing list