From fd50d963db28959f1cf652dbc3f6d24e31b63a17 Mon Sep 17 00:00:00 2001 From: Silvino Date: Tue, 11 Jun 2019 01:06:18 +0100 Subject: better distcc documentation --- core/ports.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'core') diff --git a/core/ports.html b/core/ports.html index da0f9b2..5350ee2 100644 --- a/core/ports.html +++ b/core/ports.html @@ -214,7 +214,8 @@ export SCONSFLAGS="$MAKEFLAGS" -

Set ccaching directory and instructs to use distcc backend;

+

Set ccaching directory and instructs to + use distcc backend;

         # ccache settings
@@ -224,13 +225,16 @@
         export CCACHE_COMPILERCHECK="%compiler% -dumpversion; crux"
         
-

Set distcc hosts and respective number of cpu cores to send work;

+

Set distcc hosts and respective number of + cpu cores to send work;

         export DISTCC_HOSTS="localhost/4 worker/4"
         export DISTCC_DIR="/urs/ports/distcc"
         
-

Configure distcc daemon, edit /etc/rc.d/distccd;

+

Host name "worker" must be configured on + /etc/hosts. Configure distcc daemon, edit + /etc/rc.d/distccd;

         #!/usr/bin/env bash
@@ -239,7 +243,7 @@
         #
 
         . /etc/distcc.conf
-        if [ -z "$DISTCC_ALLOW" ]; then 
+        if [ -z "$DISTCC_ALLOW" ]; then
         

Create /etc/distcc.conf;

-- cgit 1.4.1-2-gfad0