[fpc-devel] make -j for windows, number of cores?
florian at freepascal.org
Sun Mar 16 09:56:38 CET 2014
Am 16.03.2014 09:42, schrieb Reinier Olislagers:
> The build faq (that I have) states:
> "Due to some new developments with parallel compiling using the FPC
> makefiles, make 3.80 is strongly recommended as of FPC 2.1.1 (januari
> 2007 and later). Unix people with dual cores and up to date source trees
> might want to try ?make -j 2?."
> With an eye on increasing fpcup  performance:
> 1. Does make -j work reliably on Windows, too?
With make 3.82, yes.
> 2. I intend to detect the number of logical cores as per
> and run that many jobs. Is that a good idea?
I simply use make -j and set "FPMAKEOPT=--threads=4" on a Quad core.
More information about the fpc-devel