[fpc-pascal] Question about compiling FPC trunk after revision 44849

Jonas Maebe jonas at freepascal.org
Wed Apr 29 19:50:26 CEST 2020


On 29/04/2020 19:39, Victor Campillo via fpc-pascal wrote:
> For years I have been using the same script to compile FPC, in this
> script I use the next command:
> 
> make -j 9 clean all install
> 
> After the revision 44849 the use of the jobs option does not work
> anymore, it fails to compile, reviewing the changes in revision 44849
> shows that was removed the option ".NOTPARALLEL" in the Makefile, and
> this option as far as I know leave without any effect specifying the
> option --jobs, so my using over the years of the option "-j 9" was
> actually useless.
> 
> Probably I am doing something wrong, but to be sure, ┬┐it is supported to
> use the jobs option of make?

Yes, but you cannot use "clean" and "all" in the same make invocation.
This was in fact never supported, and did not work on all platforms either.

So simply split it:

make -j 9 clean
make -j 9 all install


Jonas


More information about the fpc-pascal mailing list