distributed builds for C, C++ and Objective C
C Python C++ Shell Makefile M4
Latest commit 6dadc5f Nov 26, 2017 @martinm82 martinm82 committed with thedrow Extend Travis CI configuration for macOS/clang (#226)
* Extended travis configuration to support OSX as well

* Extended gitignore

* Fixing tests for OSX/clang

* Make use of proper compiler command depending what the command "cc" is pointing to

* Disable unused parameters explicitly as it fails with Apple Clang

* Added some Docker images that can be used to test distcc on different environments.
Permalink
Failed to load latest commit information.
bench Make the benchmarking script's stdout and stderr line buffered. Aug 2, 2008
contrib The first step of moving everything in the distcc directory to the top Apr 11, 2008
doc Regenerate the automatically-generate HTML files for the man pages May 9, 2012
docker Extend Travis CI configuration for macOS/clang (#226) Nov 26, 2017
gnome Swedish translation, from Nille <nille.kungen@gmail.com>. Jun 30, 2009
include_server Fix broken "make distcheck" Apr 29, 2017
lzo lzo: Update to 2.08 Jul 29, 2014
m4 Update acx_pthread to the latest version we use internally. This is May 14, 2008
man allow -j (jobs) parameter with zeroconf Jul 7, 2016
packaging Add help for systemd-based RH-like distro users Nov 4, 2015
popt Fix a couple of compiler warnings. Oct 21, 2011
src fixed for Cygwin Aug 9, 2017
test Extend Travis CI configuration for macOS/clang (#226) Nov 26, 2017
.gitignore Extend Travis CI configuration for macOS/clang (#226) Nov 26, 2017
.travis.yml Extend Travis CI configuration for macOS/clang (#226) Nov 26, 2017
AUTHORS Documentation fixes: May 30, 2008
COPYING Initial submission @6805748, not fully baked yet. Mar 28, 2008
ChangeLog Update ChangeLog again. Oct 26, 2011
INSTALL Libiberty has moved in Debian Mar 3, 2014
Makefile.in Add missing auth objects to "h_compile" obj Aug 8, 2017
NEWS Update the NEWS and ChangeLog files, and set the version number to 3.… Oct 25, 2011
README Correct Code Link In README Aug 8, 2017
README.md Add CI Link To Resources List in README.md Aug 8, 2017
README.packaging Take these human-readable files and normalize their content and Apr 9, 2008
README.pump Documentation fixes: May 30, 2008
TODO Some updates to the TODO list to mark as done issues which are addressed Jun 9, 2008
autogen.sh Address review comments on an earlier change: Apr 18, 2008
config.guess fixed for Cygwin Aug 9, 2017
config.sub fixed for Cygwin Aug 9, 2017
configure.ac Extend Travis CI configuration for macOS/clang (#226) Nov 26, 2017
find_c_extension.sh Fix broken "make distcheck" Apr 29, 2017
install-sh Merge configure.ac, distcc/configure.ac, and Apr 11, 2008
mkinstalldirs Merge configure.ac, distcc/configure.ac, and Apr 11, 2008
pump.in Fix for distcc issue 109 <http://code.google.com/p/distcc/issues/deta… May 3, 2012
survey.txt Direct survey response to distcc-survey@google.com rather than to Mar… May 22, 2008

README.md

distcc -- a free distributed C/C++ compiler system

Build Status

by Martin Pool

Current Documents: https://cdn.rawgit.com/distcc/distcc/9a09372bd3f420cdd7021e52eda14fa536a3c10e/doc/web/index.html Formally http://distcc.org/

"pump" functionality added by Fergus Henderson, Nils Klarlund, Manos Renieris, and Craig Silverstein (Google Inc.)

distcc is a program to distribute compilation of C or C++ code across several machines on a network. distcc should always generate the same results as a local compile, is simple to install and use, and is often two or more times faster than a local compile.

Unlike other distributed build systems, distcc does not require all machines to share a filesystem, have synchronized clocks, or to have the same libraries or header files installed. Machines can be running different operating systems, as long as they have compatible binary formats or cross-compilers.

By default, distcc sends the complete preprocessed source code across the network for each job, so all it requires of the volunteer machines is that they be running the distccd daemon, and that they have an appropriate compiler installed.

The distcc "pump" functionality, added in distcc 3.0, improves on distcc by distributing not only compilation but also preprocessing to distcc servers. This requires that the server and client have the same system headers (the client takes responsibility for transmitting application-specific headers). Given that, distcc in pump mode yields the same results that distcc would in non-pump mode, but faster, since the preprocessor no longer runs locally. For more details on the pump functionality, see README.pump.

distcc is not itself a compiler, but rather a front-end to the GNU C/C++ compiler (gcc), or another compiler of your choice. All the regular gcc options and features work as normal.

distcc is designed to be used with GNU make's parallel-build feature (-j). Shipping files across the network takes time, but few cycles on the client machine. Any files that can be built remotely are essentially "for free" in terms of client CPU. This is even more true in "pump" mode, where the client does not even have to take time to preprocess the source files. distcc has been successfully used in environments with hundreds of distcc servers, supporting dozens of simultaneous compiles.

distcc is now reasonably stable and can successfully compile the Linux kernel, rsync, KDE, GNOME (via GARNOME), Samba and Ethereal. distcc is nearly linearly scalable for small numbers of machines: for a typical case, three machines are 2.6 times faster than one.

Licence

distcc is distributed under the GNU General Public Licence v2.

Resources