Distcc: A fast, free distributed C/C++ compiler
1–10 of 103 posts
Re: Distcc: A fast, free distributed C/C++ compiler
#2I've used it for remote raspberry pi compilation. Works very nicely.
Re: Distcc: A fast, free distributed C/C++ compiler
#3We used it at a previous job. Every dev computer in the building ran distcc, compiles were distributed and finished super fast.
Re: Distcc: A fast, free distributed C/C++ compiler
#4We used it at a previous job. Every dev computer in the building ran distcc, compiles were distributed and finished super fast.
Also had much success with it in the past. In my previous job we wanted to use it when building Xcode projects with a large C++ library. However, it's not compatible with Apple's modified Clang. I spent some time maintaining a fork where I hacked in support for passing along the Apple specific switches but eventually gave up. Seems like a cool feature would be the ability to define non-standard switches in a config rather than have them hard coded.
edit: just remembered I wrote up a blog post about it when I worked there
https://pspdfkit.com/blog/2017/crazy-fast-builds-using-distc...
Re: Distcc: A fast, free distributed C/C++ compiler
#5Fastbuild https://www.fastbuild.org/docs/home.html is the free distributed compilation system many game companies use. The combination of automatic unity builds (simply appending many .cpp source files together into very large combined files), caching and distributed compilation together gives you extremely fast C++ builds.
Also supports creating project files that are compatible with XCode and Visual Studio so you can just build from those IDE's and a pretty flexible dependency based build file format that can accomodate any kind of dependency.
Re: Distcc: A fast, free distributed C/C++ compiler
#6I really prefer icecream to distcc: it handles toolchain distribution, scheduling, and discovery.
Re: Distcc: A fast, free distributed C/C++ compiler
#7Is there a reason to uses this over something like bazel build?
Re: Distcc: A fast, free distributed C/C++ compiler
#8Had no idea about this tech, very cool!
Re: Distcc: A fast, free distributed C/C++ compiler
#9Is there a reason to uses this over something like bazel build?
It works transparently with any project using autotools/cmake/meson. (which is 95% of open source projects, and most likely most enterprise software) No need to convert your project to starlark BUILD files.