> On 11/20/2007 11:54 PM, Rex Dieter wrote:
>
>> Michael E Brown wrote:
>>
>>> There is a head-scratcher. I *thought* that it was rpmbuild's
>>> responsibility to automatically detect the number of processors in the
>>> system and add this flag, if necessary.
>>>
>> Yes, %{_smp_mflags} gets defined automatically
>>
For what is worth, I've just checked:
- %{_smp_mflags} is set automatically by mock to the number of processors
- it can be overriden by
config_opts['macros']['%_smp_mflags'] = '-jN' where N is the
desired
number of threads
Manuel