Re: [yocto] Parallel builds under yocto

2024-08-15 Thread Monsees, Steven C (US)
@lists.yoctoproject.org; Monsees, Steven C (US) Cc: Khem Raj Subject: Re: [yocto] Parallel builds under yocto External Email Alert This email has been sent from an account outside of the BAE Systems network. Please treat the email with caution, especially if you are requested to click on a link, decrypt

Re: [yocto] Parallel builds under yocto

2024-08-15 Thread Alexander Kanavin
On Thu, 15 Aug 2024 at 12:18, Monsees, Steven C (US) via lists.yoctoproject.org wrote: > > > So, to be clear, in this example: > > There are 12 cores total on a board ... > BB_NUMBER_THREADS="8", this tells bitbake to generate 8 tasks > > And, these tells do_make/do_install to each generate 2 task

Re: [yocto] Parallel builds under yocto

2024-08-15 Thread Monsees, Steven C (US)
vailable to be used yocto build. Correct ? Thanks again... Steve PARALLEL_MAKE="-j 2" PARALLEL_MAKEINST="-j 2” -Original Message- From: Khem Raj Sent: Wednesday, August 14, 2024 3:25 PM To: yocto@lists.yoctoproject.org; Monsees, Steven C (US) Subject: Re: [yocto] Parallel

Re: [yocto] Parallel builds under yocto

2024-08-14 Thread Mikko Rapeli
Hi, On Wed, Aug 14, 2024 at 09:36:05PM +0200, Alexander Kanavin via lists.yoctoproject.org wrote: > Also there are sensible defaults for both, which use autodetection for > how many cores a system cpu has. Generally you need to start tweaking > these settings only when defaults aren't working wel

Re: [yocto] Parallel builds under yocto

2024-08-14 Thread Alexander Kanavin
Also there are sensible defaults for both, which use autodetection for how many cores a system cpu has. Generally you need to start tweaking these settings only when defaults aren't working well (e.g. if the system doesn't have enough RAM to support that many instances of gcc). Alex On Wed, 14 Au

Re: [yocto] Parallel builds under yocto

2024-08-14 Thread Khem Raj
On Wed, Aug 14, 2024 at 12:15 PM Monsees, Steven C (US) via lists.yoctoproject.org wrote: > > Hello: > > I am looking for some clarity with regards too parallel builds under Yocto… > > I think I had a false assumption on setting PARALEL_MAKE… > > To increase thread usage: You add following to your

[yocto] Parallel builds under yocto

2024-08-14 Thread Monsees, Steven C (US)
Hello: I am looking for some clarity with regards too parallel builds under Yocto... I think I had a false assumption on setting PARALEL_MAKE... To increase thread usage: You add following to your local.conf inside the build/conf directory. Replace x and y with your wanted configuration. PARALLEL_