Re: [Lazarus] lazbuild parameter --max-process-count
On Wed, 18 Mar 2015 22:45:49 + Henry Vermaak wrote: >[...] > I fire a pile of lazbuild commands off from a Makefile, but I've had > to prevent make from running them in parallel, due to an fpc file > (some link file, I can't remember), ppas.sh and link.res are created in the output directory. So you can run only one fpc per output directory. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] lazbuild parameter --max-process-count
On 18 March 2015 at 22:14, Mattias Gaertner wrote: > Hi, > > I added a new parameter to lazbuild. > > --max-process-count= > Maximum number of threads for compiling in > parallel. Default is 0, which guesses the number of > cores in the system. > > When you have trouble reading the output of lazbuild you can for > example use --max-process-count=1 . Great feature, thanks! > I heard that on some Windows machines FPC locks some files, so that > parallel compilation fails. I could not reproduce it, but if you have > the problem, you know have a workaround. I fire a pile of lazbuild commands off from a Makefile, but I've had to prevent make from running them in parallel, due to an fpc file (some link file, I can't remember), that always has the same name, getting created in the output directory. I should file a bug report, temporary files belong somewhere else and at the very least should have unique names. Henry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] lazbuild parameter --max-process-count
Hi, I added a new parameter to lazbuild. --max-process-count= Maximum number of threads for compiling in parallel. Default is 0, which guesses the number of cores in the system. When you have trouble reading the output of lazbuild you can for example use --max-process-count=1 . I heard that on some Windows machines FPC locks some files, so that parallel compilation fails. I could not reproduce it, but if you have the problem, you know have a workaround. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus