Mailinglist Archive: opensuse-packaging (104 mails)

< Previous Next >
Re: [opensuse-packaging] osc build not using all cores

On Friday 2018-08-03 15:50, Brüns, Stefan wrote:
On Freitag, 3. August 2018 15:47:45 CEST John Paul Adrian Glaubitz wrote:
On 08/03/2018 03:46 PM, Marcus Hüwe wrote:
This won't work if the %cmake call generates a build.jinja instead
of a Makefile. If the cmake macros are used, the spec file maintainer
does not have to care about the underlying build system.

So, what's the proper, build-system-agnostic statement then?

Not putting anything will disable parallel builds which was my original
problem.

%{make_jobs} is available when %cmake is available (both are macros provided
by the cmake package)

If you use %cmake, also use %make_jobs.

Ugh, who invented that name again... it should have been called %cmake_build
so as to not impersonate make/rpm.
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >