LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-27-2014, 08:26 AM   #1
Nh3xus
Member
 
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 211

Rep: Reputation: 57
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.
 
Old 08-27-2014, 09:09 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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.
 
Old 08-27-2014, 09:17 AM   #3
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
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
 
Old 08-27-2014, 10:50 AM   #4
Nh3xus
Member
 
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 211

Original Poster
Rep: Reputation: 57
Thanks you

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

I'll try this and let you know how it went.
 
Old 08-27-2014, 11:02 AM   #5
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
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
 
Old 08-27-2014, 11:55 AM   #6
Nh3xus
Member
 
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 211

Original Poster
Rep: Reputation: 57
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.
 
Old 08-30-2014, 11:17 AM   #7
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Here's my Slackware-specific Distcc documentation:

http://www.microlinux.fr/slackware/L...stcc-HOWTO.txt
 
Old 08-31-2014, 06:16 AM   #8
Nh3xus
Member
 
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 211

Original Poster
Rep: Reputation: 57
Thanks you kikinovak

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

I guess it will be the same for this one
 
Old 08-31-2014, 08:35 AM   #9
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by Nh3xus View Post
Thanks you kikinovak

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

I guess it will be the same for this one
You're welcome. FYI, MLED is currently being rebased on KDE. Expect something in a couple weeks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Building AlienBob's KDE 4.7.2 packages from the Slackbuilds damgar Slackware 7 10-27-2011 12:11 AM
[SOLVED] issue building chromium from slackbuilds trademark91 Slackware 7 07-24-2011 08:43 AM
[SOLVED] Slackbuilds - Net-SSLay building problem hua Slackware 4 08-01-2010 05:44 AM
[SOLVED] Problem building from slackbuilds ~sHyLoCk~ Slackware 14 05-18-2010 01:48 PM
building kdebluetooth from Slackbuilds on Slackware64-current gtludwig Slackware 5 06-27-2009 05:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration