Jonas Maebe wrote:
On 15 Aug 2012, at 18:11, Graeme Geldenhuys wrote:
Does 2.7.1 not use parallel compilation any more? I just compiled
2.7.1 and only noticed that one of my CPU cores got high usage at a
time. Some months back I could see all four cores work hard at a
certain point in FPC's compilation (I think when compiling the
packages units).
You now also have to add FPMAKEOPT="-T 5". The reason is that the packages are
now compiled by fpmake, and GNU make unfortunately has no way to query the value of the
-j parameter inside a makefile so it cannot be automatically passed on to fpmake.
Although on unix (Linux, Solaris) it's not too difficult to extract the
top-level make command line from ps output; I've not checked but this is
presumably also in the /proc tree.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel