-
Notifications
You must be signed in to change notification settings - Fork 151
Description
Apologies if this is a configuration issue on my part.
I'm running Jade on Arch Linux Arm on a Raspberry Pi. In the interest of speeding up compile times, I've set up distcc with my desktop, which has four cores. However, issuing the command on the Pi from the cheatsheat, CC="distcc gcc" CXX="distcc g++" catkin build -p$(distcc -j) -j$(distcc -j) --no-jobserver, to use distcc doesn't seem to make catkin build use distcc, based on compile times and the fact that distccmon-text never shows any processes, locally or on the remote host. During the build process I do see the -j and -p flags being taken into account.
Initially, I forgot to set DISTCC_HOSTS, which led to a strange memory leak. I fixed this, resolving the memory leak, but distcc is still not being used. htop on the pi shows the process is just the ARM version of GCC.
As of right now catkin build does all compilation on the Pi. I would like to see it distribute compilation to the other computer.
Original question on answers.ros.org here. Please note the second edit. I'm confident distcc is configured correctly because it is definitely used while using Arch Linux's makepkg.
Thank you. Again, apologies for posting this as an issue on your repository, but I figured you guys would have the best idea of what's going on.