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 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

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 mind that if there are multiple "-j" variables to gmake, it will
only honor the LAST one specified. YMMV.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-   The light at the end of the tunnel is really an oncoming train.  -
----------------------------------------------------------------------
--
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