LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Building Slackbuilds with distcc (https://www.linuxquestions.org/questions/slackware-14/building-slackbuilds-with-distcc-4175516518/)

Nh3xus 08-27-2014 08:26 AM

Building Slackbuilds with distcc
 
Hi,

I was wondering if building some Slackbuilds with distcc was possible ?

Of course, the source code of said programs must contain an Makefile if I'm not mistaken.

Any idea would be greatly appreciated. :)

Alien Bob 08-27-2014 09:09 AM

I build most of my Slackware packages for ARM using distcc. My ARM device is just not so powerful and running a distributed job on two additional quad-code Intel machines speeds up things quite a bit.

a4z 08-27-2014 09:17 AM

you can export CC as distcc
so if the program takes CC as the compiler, what is should and will do, than there should be no problem
you can also link the compiler names (gcc g++) to distcc in a folder in the begin of your $PATH, than it will be used for gcc and g++

if you do this optimizations you will possibly also look for ccache

Nh3xus 08-27-2014 10:50 AM

Thanks you :)

I'm pretty new to distcc so I'm having a hard time to figure out your two posts. :D

I'll try this and let you know how it went.

a4z 08-27-2014 11:02 AM

serach the web for 'distccc tutorial'

you will find something like
http://www.vflare.org/2010/06/faster...th-distcc.html

this, and the other links, should help

Nh3xus 08-27-2014 11:55 AM

Thanks you a4z.

I was wondering if there was some "Slackware specific" configuration that needed to be done.

Glad to hear that it's pretty much distro-agnostic.

kikinovak 08-30-2014 11:17 AM

Here's my Slackware-specific Distcc documentation:

http://www.microlinux.fr/slackware/L...stcc-HOWTO.txt

Nh3xus 08-31-2014 06:16 AM

Thanks you kikinovak :)

I've found your MLES and MLED documentation very interesting.

I guess it will be the same for this one :D

kikinovak 08-31-2014 08:35 AM

Quote:

Originally Posted by Nh3xus (Post 5230108)
Thanks you kikinovak :)

I've found your MLES and MLED documentation very interesting.

I guess it will be the same for this one :D

You're welcome. FYI, MLED is currently being rebased on KDE. Expect something in a couple weeks.


All times are GMT -5. The time now is 09:56 AM.