Re: rpmbuild using more than one cpu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux