[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: __make (was Re: Use of %{__*} macros)
- From: Bo Forslund <bo forslund abc se>
- To: rpm-list redhat com
- Subject: Re: __make (was Re: Use of %{__*} macros)
- Date: Wed, 23 Jan 2002 16:50:26 +0100
Jeff Johnson wrote:
> First of all many, many packages will not rebuild with "make -j". And,
> if the package was known to build with -j, there's certainly no reason
> the spec file couldn't discover the # of cpu's in %build and invoke
> make appropriately. What, a packager can't write 4 lines of shell?
>
> But, yes, %{__make} could be used to hide the -j.
Why not use the %make macro. It will use every available processor on the
building machine.
It will do
make -j <number-of-available-cpus>
BF
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]