请输入您要查询的百科知识:

 

词条 Distcc
释义

  1. Design

  2. Related software

  3. See also

  4. References

  5. External links

{{lowercase|title=distcc}}{{Infobox software
| name = distcc
| author = Martin Pool
| developer = Fergus Henderson
| latest release version = 3.3[1]
| latest release date = {{Start date and age|2018|3|3}}[2]
| programming language = C, C++, Python
| operating system = Cross-platform
| genre = Compiler
| license = GNU General Public License
| website = {{url|https://distcc.github.io}}
}}

In software development, distcc is a tool for speeding up compilation of source code by using distributed computing over a computer network. With the right configuration, distcc can dramatically reduce a project's compilation time.[3]

It is designed to work with the C programming language (and its derivatives like C++ and Objective-C) and to use GCC as its backend, though it provides varying degrees of compatibility with the Intel C++ Compiler and Sun Microsystems' Sun Studio Compiler Suite.[4] Distributed under the terms of the GNU General Public License, distcc is free software.

Design

distcc is designed to speed up compilation by taking advantage of unused processing power on other computers. A machine with distcc installed can send code to be compiled across the network to a computer which has the distccd daemon and a compatible compiler installed.[5]

distcc works as an agent for the compiler. A distcc daemon has to run on each of the participating machines. The originating machine invokes a preprocessor to handle header files, preprocessing directives (such as #ifdef) and the source files and sends the preprocessed source to other machines over the network via TCP either unencrypted or using SSH. Remote machines compile those source files without any local dependencies (such as libraries, header files or macro definitions) to object files and send them back to the originator for further compilation.[6]

distcc version 3 supports a mode (called pump mode) in which included header files are sent to the remote machines,

so that preprocessing is also distributed.

Related software

ccache is another tool aimed to reduce the compilation time by caching the output from the same input source files. ccache can also use distcc as its backend, providing distributed compiling if it is not already cached by using the CCACHE_PREFIX environment variable.

distcc was an option for distributed builds in versions of Apple's Xcode development suite prior to 4.3, but has been removed.

icecream was created by SUSE based on distcc. Like distcc, icecream takes compile jobs from a build and distributes it among remote machines allowing a parallel build. But unlike distcc, icecream uses a central server that dynamically schedules the compile jobs to the fastest free server.[7]

See also

{{Portal|Free and open-source software}}
  • Compile farm
  • FlowTracer
  • IncrediBuild
  • Electric Cloud

References

1. ^{{cite web|url=https://github.com/distcc/distcc/releases|title=Releases|via=GitHub|accessdate=26 April 2018}}
2. ^{{cite web|url=https://github.com/distcc/distcc/blob/master/NEWS|title=distcc/NEWS at master|accessdate=26 April 2018}}
3. ^{{cite web|author=Laurence Bonney |url=http://www.ibm.com/developerworks/linux/library/l-distcc/index.html |title=Reduce compile time with distcc |publisher=IBM |date=2004-07-22 |accessdate=2011-08-24}}
4. ^{{cite web |author=Martin Pool |url=http://distcc.googlecode.com/svn/trunk/doc/web/faq.html |title=distcc frequently asked questions |publisher=Distcc.googlecode.com |date=2007-02-23 |accessdate=2009-10-19 |deadurl=yes |archiveurl=https://web.archive.org/web/20090907163843/http://distcc.googlecode.com/svn/trunk/doc/web/faq.html |archivedate=2009-09-07 |df= }}
5. ^{{cite web|author=Daniel Robbins |url=http://drdobbs.com/184401764 |title=Distcc & Distributed Computing |publisher=Dr.Dobb's |date=2004-02-01 |accessdate=2011-08-24}}
6. ^{{cite web|author=V. L. Simpson |url=http://linuxgazette.net/107/simpson.html |title=Speed Compiling with Distcc |publisher=linuxgazette.net |date=October 2004 |accessdate=2011-08-25}}
7. ^{{Citation|title=icecream: Distributed compiler with a central scheduler to share build load|date=2017-12-27|url=https://github.com/icecc/icecream|publisher=icecc|accessdate=2017-12-27}}

External links

  • {{Official website|https://github.com/distcc}}
  • google distcc pump mode
  • [https://web.archive.org/web/20110711111937/http://distcc.googlecode.com/svn/trunk/doc/web/compared.html Comparison of related system]
  • DMUCS – a Distributed Multi-User Compilation System
  • DistCC Enterprise Load Balancer

4 : Compiling tools|Free computer programming tools|Cross-platform software|Unix programming tools

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/10 10:31:31