Recent

Author Topic: ReCompilation of Lazarus - Number of cores used  (Read 1852 times)

tudi_x

  • Hero Member
  • *****
  • Posts: 532
ReCompilation of Lazarus - Number of cores used
« on: August 03, 2017, 05:36:51 pm »
hi All,
i recently changed the CPU I am compiling moving from an i7 to a Pentium J3710 (4 cores, 6.5W TDP).
now recompilation of IDE is slower but it looks like it is using only one core?
when recompiling Lazarus for package updates is there a setting to recompile on multiple cores?
please advise.

thank you
Lazarus 2.0.2 64b on Debian LXDE 10

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: ReCompilation of Lazarus - Number of cores used
« Reply #1 on: August 03, 2017, 06:35:48 pm »
i recently changed the CPU I am compiling moving from an i7 to a Pentium J3710 (4 cores, 6.5W TDP).
now recompilation of IDE is slower but it looks like it is using only one core?
when recompiling Lazarus for package updates is there a setting to recompile on multiple cores?
Yes, in IDE Options -> Environment -> Message Window -> Maximum parallel processes ...
The default however is the number of CPU cores found. Are you sure your diagnosis is right? Remember, only packages are compiled in parallel, the IDE's code compiles in a single thread.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

 

TinyPortal © 2005-2018