[Interest] How to build Qt using multiple CPU's on Mac?
Hi Everybody, On windows when I run nmake after configure, it uses all of my CPU's and is finished in under 2 hours. On mac OSX Lion with XCode 4.3.2, when I run make after configure, it only uses 1 CPU. My google fu is not working and I can't find the parameter for make to get it to use more CPU's. (It seems the problems forcing Qt compile to target OSX 10.6 have come back in 4.8.3, hence my need to build Qt a few times already). Thanks! Tony. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] How to build Qt using multiple CPU's on Mac?
20.09.2012, 17:38, Tony Rietwyk t...@rightsoft.com.au: Hi Everybody, On windows when I run nmake after configure, it uses all of my CPU's and is finished in under 2 hours. On mac OSX Lion with XCode 4.3.2, when I run make after configure, it only uses 1 CPU. My google fu is not working and I can't find the parameter for make to get it to use more CPU's. make -jN, where N is a number of concurrent processes. Read man make for more details. -- Regards, Konstantin ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] How to build Qt using multiple CPU's on Mac?
On Thursday 20 September 2012 23:38:54 Tony Rietwyk wrote: Hi Everybody, On windows when I run nmake after configure, it uses all of my CPU's and is finished in under 2 hours. On mac OSX Lion with XCode 4.3.2, when I run make after configure, it only uses 1 CPU. My google fu is not working and I can't find the parameter for make to get it to use more CPU's. (It seems the problems forcing Qt compile to target OSX 10.6 have come back in 4.8.3, hence my need to build Qt a few times already). export MAKEFLAGS=-j8 $MAKEFLAGS ./configure ... make That way even configure will use all of your CPUs when building qmake. (Objviously adjust the 8 to whatever number of cores you have). Cheers, Sean -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest