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

Sven Barth pascaldragon at googlemail.com
Wed Apr 29 20:01:59 CEST 2020


Jonas Maebe <jonas at freepascal.org> schrieb am Mi., 29. Apr. 2020, 19:50:

> 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
>

Also you should specify FPMAKEOPT="-T 9" in addition to -j.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20200429/33fd1a82/attachment-0001.html>


More information about the fpc-pascal mailing list