On Thu, 1 Jul 2004, Theo Van Dinter wrote:
I've done this by editing ~/.rpmmacros and adding:
%__make /usr/bin/make -j2
Somewhere along the line, the %_smp_mflags macro got added to Red Hat and Fedora installations. So doing the right thing, regardless of the actual number of CPUs, is usually
%{__make} %{_smp_mflags}
You can arbitrarily set the number of processors involved in the build process by setting $RPM_BUILD_NCPUS, which will override the getconf method of determining the X in -jX.
--Paul Heinlein <heinlein@xxxxxxxxxxx>
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list