[fpc-devel] Parallel compilation 'make all -j 5' option

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Aug 15 18:13:42 CEST 2012


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.


Jonas




More information about the fpc-devel mailing list