aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilvino <silvino@bk.ru>2019-06-11 01:06:18 +0100
committerSilvino <silvino@bk.ru>2019-06-11 01:06:18 +0100
commitfd50d963db28959f1cf652dbc3f6d24e31b63a17 (patch)
tree5aa066a8d6f067d9b328b9c5ca9f073b0028ca67
parentf4f8011dfe20f374a52a38b72a87fa92769a6523 (diff)
downloaddoc-fd50d963db28959f1cf652dbc3f6d24e31b63a17.tar.gz
better distcc documentation
-rw-r--r--core/ports.html12
1 files changed, 8 insertions, 4 deletions
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"
</pre>
- <p>Set ccaching directory and instructs to use distcc backend;</p>
+ <p>Set ccaching directory and instructs to
+ use distcc backend;</p>
<pre>
# ccache settings
@@ -224,13 +225,16 @@
export CCACHE_COMPILERCHECK="%compiler% -dumpversion; crux"
</pre>
- <p>Set distcc hosts and respective number of cpu cores to send work;</p>
+ <p>Set distcc hosts and respective number of
+ cpu cores to send work;</p>
<pre>
export DISTCC_HOSTS="localhost/4 worker/4"
export DISTCC_DIR="/urs/ports/distcc"
</pre>
- <p>Configure distcc daemon, edit /etc/rc.d/distccd;</p>
+ <p>Host name "worker" must be configured on
+ /etc/hosts. Configure distcc daemon, edit
+ /etc/rc.d/distccd;</p>
<pre>
#!/usr/bin/env bash
@@ -239,7 +243,7 @@
#
. /etc/distcc.conf
- if [ -z "$DISTCC_ALLOW" ]; then
+ if [ -z "$DISTCC_ALLOW" ]; then
</pre>
<p>Create /etc/distcc.conf;</p>