Re: distcc only builds locally when using rpmbuild

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

 



On 05/31/2015 08:12 AM, Sam Varshavchik wrote:
> I've got distcc working correctly, when I run a build myself. I see the
> build jobs getting distributed just fine.
> 
> However, when I use rpmbuild, all builds appear to be running locally.

As I recall, distcc involves running distcc instead of gcc.  Do the RPM
builds somehow override which compiler get used to use the standard gcc
compiler instead of distcc?  Perhaps through an environment variable in
the build script?

> ps shows the maximum number of "/usr/bin/distcc /usr/bin/g++ [options]"
> processes running locally, that I but nothing gets distributed to other
> hosts.

> I've got %_smp_mflags set correctly to the number of build jobs that can
> run in parallel, to the sum total of jobs that can be distributed via
> /etc/distcc/hosts. Counting the number of distcc processes, I see that
> the right number of jobs have started, but only the local build jobs are
> running, and nothing gets distributed.

> There must me something in the environment that's doing this, because
> when I make the build myself, it works correctly.

-- 
Kevin J. Cummings
kjchome@xxxxxxxxxxx
cummings@xxxxxxxxxxxxxxxxxx
cummings@xxxxxxxxxxxxxxxxxxxxxxx
Registered Linux User #1232 (http://www.linuxcounter.net/)
-- 
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