Re: how can i tell rpmbuild to *not* parallelize make during the build?

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

 



On Mon, 10 Feb 2014, Rick Stevens wrote:

> On 02/10/2014 12:09 PM, Robert P. J. Day issued this missive:
> >
> >    grrrrrr ... following the instructions here:
> >
> > https://fedoraproject.org/wiki/Building_a_custom_kernel
> >
> > on how to build a custom kernel (some of which is incorrect, more on
> > that later), and builds keep failing at random places, i'm guessing
> > because i have a hyperthreaded quad-core laptop, and the "make -j8" is
> > simply tripping over itself in arbitrary places.
> >
> > what's the easiest way to specify a single-threaded build? yes, it
> > will take forever, but it will be nice to verify that that's the
> > problem.
> >
> >    thanks.
> >
> > rday
> r
> Theoretically you could do
>
> 	MAKEFLAGS="-j 1" rpmbuild blah-blah
>
> gmake looks for the environment variable "MAKEFLAGS". Most reasonable
> makefiles do "MAKEFLAGS+=other-specific-flags", so it should honor it.
> Keep in minthd that if there are multiple "-j" variables to gmake,
it will
> only honor the LAST one specified. YMMV.

  hmmmm ... nope, i started a new build and i can already see:

+ make -s ARCH=x86_64 V=1 -j8 bzImage

still pawing through kernel.spec to see where i can override this.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux