Re: Multi-Threaded make

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

 




On 11/29/2012 03:04 AM, Cameron Simpson wrote:
On 28Nov2012 21:16, JD <jd1008@xxxxxxxxx> wrote:
| On 11/28/2012 08:21 PM, Cameron Simpson wrote:
| > On 28Nov2012 15:37, JD <jd1008@xxxxxxxxx> wrote:
| > | While building the kernel from source RPM, I run
| > | the command ps -ef | grep make in another terminal,
| > | and I do see that 4 make processes are running, with
| > | each one building objects for a different kernel source
| > | directory.
[...]
| > Is make running with the "-j 4" (or whatever value) option?
|
| I had already said that after running rpmbuild,
| ps -ef shows 4 make processes running.
| So, it must be picking up -j4 from somewhere,
| perhaps from one of the rpmbuild macros.

I neat failure to answer my question.
They could be submakes. Make's allow to invoke itself you know...

What options _is_ make using?
Look, rpmbuild DOES  NOT invoke make with -j 4 or any other number!!!

From the saved output of running rpmbuild, these are all of the invocations of make;
of course they did not get invokes all at once.
During the build ps -ef would show up to 4 makes running at a time.

+ make -f /home/jd/rpmbuild/SOURCES/Makefile.config VERSION=3.7.0 configs
+ make ARCH=i386 oldnoconfig
+ make ARCH=i386 oldnoconfig
+ make -s mrproper
+ make -s ARCH=i386 oldnoconfig
+ make -s ARCH=i386 V=1 bzImage
+ make -f /sdb5/redhat/BUILD/kernel-3.6.fc16/linux-3.7.0-0.rc7.git1.1.fc16.i686/scripts/Makefile.modpost vmlinux.o + make -f /sdb5/redhat/BUILD/kernel-3.6.fc16/linux-3.7.0-0.rc7.git1.1.fc16.i686/scripts/Makefile.build obj=init
+ make -s ARCH=i386 V=1 modules
+ make -s ARCH=i386 INSTALL_MOD_PATH=/home/jd/rpmbuild/BUILDROOT/kernel-3.7.0-0.rc7.git1.1.fc16.i386 modules_install KERNELRELEASE=3.7.0-0.rc7.git1.1.fc16.i686 mod-fw=
+ make -C tools/power/cpupower CPUFREQ_BENCH=false
+ make centrino-decode powernow-k8-decode
+ make
+ make
+ make ARCH=i386 INSTALL_HDR_PATH=/home/jd/rpmbuild/BUILDROOT/kernel-3.7.0-0.rc7.git1.1.fc16.i386/usr headers_install + make ARCH=i386 INSTALL_HDR_PATH=/home/jd/rpmbuild/BUILDROOT/kernel-3.7.0-0.rc7.git1.1.fc16.i386/usr headers_check + make -C tools/power/cpupower DESTDIR=/home/jd/rpmbuild/BUILDROOT/kernel-3.7.0-0.rc7.git1.1.fc16.i386 libdir=/usr/lib mandir=/usr/share/man CPUFREQ_BENCH=false install + make DESTDIR=/home/jd/rpmbuild/BUILDROOT/kernel-3.7.0-0.rc7.git1.1.fc16.i386 install + make DESTDIR=/home/jd/rpmbuild/BUILDROOT/kernel-3.7.0-0.rc7.git1.1.fc16.i386 install

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
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