A program to distribute builds of C, C++, Objective C or Objective C++ code across several machines on a network
Questions tagged [distcc]
68 questions
4
votes
1 answer
How can I somewhat securely run distccd on a docker image in the cloud?
I'm compiling things on a raspberry pi and it's not going fast enough, even when I use my desktop's CPU to help.
I could just install distcc the old fashioned way on a cloud server, but what if someday I was to real quick spin up a bunch of servers…

tladuke
- 1,337
- 2
- 11
- 22
4
votes
0 answers
Speed up compilation time with a multicore machine
I manage a build server for an open source project and it often needs to rebuild huge libraries that take at least 30 minutes to build on a 8-logical-core i7 Intel processor, maxing at several hours.
Lately I was wondering if there are some…

Vanilla Gorilla
- 269
- 2
- 13
4
votes
3 answers
distcc issue: does it really speeds up compilation?
I installed distcc and Cmake for a small C++ project. I have two machines: so there is one client where compilation is done locally, and one server, where the compilation is done 'remotely'.
I have followed the instructions to install and configure…

Carmellose
- 4,815
- 10
- 38
- 56
4
votes
1 answer
Distributed compilation of CUDA C application (like distcc, but with support for nvcc compiler)
Is there a tool to speed up and distribute compilation of GPGPU programs using CUDA C (where nvcc compiler is part of compilation chain), i.e. something like distcc + ccache (or derivatives and wrappers like distcc-pump, ccontrol, Icecream (IceCC)…

Jakub Narębski
- 309,089
- 65
- 217
- 230
3
votes
1 answer
scons with distcc?
What's the correct way of using scons with distcc?
The obvious way of using CC="distcc g++" or CXX doesn't work.
Did anyone ever succeed in combining the two?
Thanks!

Protostome
- 5,569
- 5
- 30
- 45
3
votes
2 answers
How to use distcc to preprocess and compile everything remotely only?
Background:
I have a 128-core server which I would like to use as a build server.
I have a bunch of client machines which work with a not-so-new and not-so-powerful PC. (Can't upgrade! Not in my control.)
What I did:
I followed the distcc…

Duck Dodgers
- 3,409
- 8
- 29
- 43
3
votes
2 answers
How to use clang and distcc to compile on a slave of a different architecture (e.g. Mac/Linux)
I want to use distcc to compile code from my Mac to a bunch of Linux hosts, but I can't figure out how to make everything "line up". I've successfully used distcc from Mac to Mac, so I have a general idea of how to set things up.
I'm using Clang 4.0…

xaxxon
- 19,189
- 5
- 50
- 80
3
votes
1 answer
Distcc does not find servers
I'm sorry that the title is not really telling much, but so far, I can't be more specific...
I have two Ubuntu 14.04 computers in a network (server (who should do the compiling is at 10.8.1.52) and the client is at 10.8.1.42. I installed distcc via…

FooTheBar
- 818
- 1
- 9
- 20
2
votes
1 answer
Disabling certain warnings in distcc
I'm using plain distcc (without pump mode) to compile my code,
and for each file that is distributed to the host, the following message is printed:
distcc[11543] (dcc_talk_to_include_server) Warning: INCLUDE_SERVER_PORT not set - did you forget to…

Nancy Lee
- 31
- 5
2
votes
1 answer
Distcc with C++ undefined reference
I having trouble configuring distcc to compile C++ files. I did a standard small "Hello, World" program in C++ and am trying to get distcc to compile it locally (before I get fancy with a larger project), but I am getting "undefined reference"…

aaa
- 23
- 3
2
votes
2 answers
Compiling gnuradio on Raspberry pi using distcc
I want to compile gnuradio on Raspberry Pi with a fresh copy of Raspbian wheezy. I have a setup of distcc with an i7 to offload the work from RPi.
It works well with a simple test file when I use
$gcc -c hello.c
I can see that the task is done in…

user3278598
- 31
- 3
2
votes
0 answers
How to run distcc pump include-server from within Scons
One of the features of distcc version 3 is pump mode which allows the slave servers to preprocess as well as compile code from the master. From the shell, this works great for me.
My issue is that I cannot figure out a reliable way to integrate…

justinzane
- 1,897
- 1
- 26
- 38
2
votes
2 answers
distcc like framework for Windows
We are running some heavy computations that can take a lot of time (even days). We have an architecture similar to that of a compiler (compiler + linker):
many blocks of data that need to be computed (they are computed by a solver.exe executable) -…

INS
- 10,594
- 7
- 58
- 89
1
vote
1 answer
distcc and arm cross compile
im trying to setup a small 2 system distcc compile cluster for a new project im working on but for some reason i cant get the second server in the cluster to compile.
the arm-eabi-gcc file works if i try to run it on said server i get the normal no…

DJ_Steve
- 61
- 1
- 10
1
vote
1 answer
Is it possible to apply different compilation jobs to a different targets into a Makefile in order to use distcc
I have a Makefile which has several targets. One of then it’s just to generate cpp code automatically. The second one is designated to compile those generated cpp.
I have configured a cluster of distributed compilation and I just want to specify a…

ArAmIuS
- 11
- 3