blob: 2da73ec9c11df25699c18005041f8e52e82674ce (
plain)
1 POST-INSTALL:
2
3 To use distcc, just:
4 a) Set DISTCC_ALLOW=IPADDR[/MASK] to /etc/rc.conf.
5 b) Export DISTCC_HOSTS to include the compilation hosts.
6 c) Prepend /usr/lib/distcc to your $PATH environment variable.
7 (e.g. in pkgmk.conf)
8 d) Export MAKEFLAGS=-j<n> where n is a number representing the number of
9 parallel jobs you want.
10 e) Optionally set DISTCC_LOG_LEVEL=LEVEL in /etc/rc.conf to be more or
11 less verbose to syslogd.
12
13
14 DISTCCD SERVICE
15
16 There's a service to simplify running distccd. By default, it wont run without DISTCC_ALLOW=IPADDR[/MASK] to accept connections and runs as user 'nobody'. Both values can be overridden in /etc/rc.conf, like this:
17
18 ----
19 DISTCC_ALLOW='192.168.1.0/24'
20 DISTCC_USER='pkgmk'
21 ----
22
23 There is more information on the public wiki http://crux.nu/Public/HomePage
24 and in the man pages 'man distccd' and 'man distcc'.
|