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
16
votes
6 answers
CMAKE_C_COMPILER is not a full path to an existing compiler tool
I recently explored distcc and couldn't make it work. So I
sudo apt-get remove distcc
After that, I get the error
==> Processing catkin package: 'gencpp'
==> Building with env: '/opt/ros/kinetic/env.sh'
Makefile exists, skipping explicit cmake…

Ryan Lee
- 361
- 1
- 3
- 10
13
votes
3 answers
Is it possible to use distcc for building iPhone device builds?
As far as I can tell, the moment I switch any of my projects from Simulator to Device build configuration, the build is no longer distributed, but built locally.
So, is there any kind of magic involved in getting Xcode to use the distributed…

Steven Kramer
- 8,473
- 2
- 37
- 43
10
votes
2 answers
Distributed compile with bitbake
Do you got any idea how to build an oe project with distributed bitbake compile?
I've thinked about distcc.
export PATH=~/distcc/bin:$PATH
make -jn CC=linux-gcc
make will call linux-gcc from my path which points to distcc.
distcc will schedule the…

butter
- 355
- 1
- 4
- 12
9
votes
2 answers
Xcode distributed build failure
I am trying to do distributed builds with Xcode, but I see this error while building from my build server (Build Sever is the host, dev machine is the client).
When I try to do this the other way, I am able to distribute builds (My Dev machine as…

Santthosh
- 1,083
- 1
- 12
- 30
8
votes
0 answers
Can precompiled headers be made to work with distcc?
I have a large project for which I've implemented precompiled headers. I'd also like to be able to get it to work with distcc. According to section 4.12 in the google code paper here
gcc version 3.3 includes some performance improvements that make…

TooTone
- 7,129
- 5
- 34
- 60
8
votes
2 answers
DistCC and CMake - select between local and distributed build when running make
My project is build using CMake and is compiled with DistCC + GCC.
I configure the compiler as follows:
SET(CMAKE_C_COMPILER "distcc variation-of-gcc")
To build the project, I simply run 'cmake' and then 'make -jXX'.
Although distcc really speeds…

oferlivny
- 300
- 4
- 15
7
votes
2 answers
How to get ccache to not pass the full path to the compiler to distcc
(This is different to the question ccache and absolute path as I want only the command path to not be expanded on the ccache host machine)
When using ccache and distcc together ccache is expanding the compiler to an absolute path, and then distcc…

David Gardner
- 6,952
- 4
- 35
- 37
7
votes
2 answers
How to fix distcc error
I'm trying to get distcc working between two machines CLIENT and SERVER I "think" I have it setup right but I am still getting this error
(dcc_build_somewhere) Warning: failed to distribute, running locally
instead
NOTHING is being compiled on…

Roge
- 3,294
- 2
- 20
- 19
6
votes
0 answers
Are there public distcc servers?
I have started using distcc, and I was wondering whether there were public distcc servers, that anyone could use?

qdii
- 12,505
- 10
- 59
- 116
6
votes
1 answer
Is there a distcc-like tool for GHC?
Are there any tools like distcc for GHC? Or other more primitive tricks for doing distributed compilation?
I realize GHC is extremely version sensitive. Is this impractical since GHC doesn't yet support cross-compilation?

Jeff Burdges
- 4,204
- 23
- 46
5
votes
1 answer
Cross compile x86_64 on i686 system on Ubuntu with distcc
I am attempting to setup a small build cluster at home using distcc. There are two x64 systems and 1 i686 systems. All systems are running Ubuntu 10.10 and are up to date. The system that is initiating the build is x64. Distcc works fine between the…

Jesse Vogt
- 16,229
- 16
- 59
- 72
5
votes
2 answers
Is there any way to make Xcode 7.3 and above support distributed build among multi Mac devices?
I'm in an iOS development team with about 10 mates. All of us are using the Mac devices in a 1Gbps lan so I'm wondering is there anyway we can distributed build the project:
When someone starts to build the project, it could auto connect to other…

jayatubi
- 1,972
- 1
- 21
- 51
5
votes
0 answers
qmake template app with pre_targetdeps
I have a QT project (c++) that has a library that needs to be built before the app starts because of dependencies. My qmake file does the following:
TEMPLATE = MyApp
QMAKE_EXTRA_TARGETS += MyDependency
MyDependency.depends =…

user2055935
- 51
- 7
4
votes
1 answer
Exactly what does the phases of distcc mean? Am I already using pump mode? And how do I use pump mode in Cygwin?
From what I have read being able to use pump mode with distcc requires that you encapsulate make in the pump script. However, I do not have it in my path and I can not find not find it as a package or included in the distcc package for…

Deleted
- 4,067
- 6
- 33
- 51
4
votes
1 answer
distcc - are there cases it requires a synchronized network filesystem
Two simplified makefiles
makefile1
a.txt:
echo “123144234” > a.txt
t2: a.txt
cat a.txt > b.txt
makefile2
t1:
echo “123144234” > a.txt
t2: t1
cat a.txt > b.txt
Both makefiles have the same functionality.
Both makefiles can be…

Bob
- 4,576
- 7
- 39
- 107