Mailinglist Archive: opensuse-packaging (104 mails)

< Previous Next >
Re: [opensuse-packaging] osc build not using all cores
  • From: Marcus Hüwe <suse-tux@xxxxxx>
  • Date: Fri, 3 Aug 2018 15:25:07 +0200
  • Message-id: <20180803132507.umrfdddh45tlyefj@linux>
On 2018-08-03 14:57:02 +0200, John Paul Adrian Glaubitz wrote:
Hi!

I am currently test-building my new package aws-sdk-cpp [1] on a fast
dual-CPU AMD EPYC machines with a total of 32 cores.

Looking at htop shows that the build is not using all cores. Building
without osc, i.e. just using the upstream source in the normal system
environment works in parallel.

I have already passed -j 32 to osc but that doesn't help.

Hmm probably an appropriate "make" call is missing in your %build
section. Adding something like

%make_jobs

after your %cmake call should fix it.


Marcus
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups