diff options
author | Silvino <silvino@bk.ru> | 2019-06-11 03:46:58 +0100 |
---|---|---|
committer | Silvino <silvino@bk.ru> | 2019-06-11 03:46:58 +0100 |
commit | e52ad7baa28982fb63154d7eda40c54982f8d276 (patch) | |
tree | 8536a1c68b36f063c9424b50034dd2398368a78e /core/ports.html | |
parent | c1ec5af5868c0050dcb82167224affae7d684849 (diff) | |
download | doc-e52ad7baa28982fb63154d7eda40c54982f8d276.tar.gz |
fix core ports pkgmk.conf
Diffstat (limited to 'core/ports.html')
-rw-r--r-- | core/ports.html | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/core/ports.html b/core/ports.html index a977568..d7ea41c 100644 --- a/core/ports.html +++ b/core/ports.html @@ -211,26 +211,22 @@ export CCACHE_COMPILERCHECK="%compiler% -dumpversion; crux" </pre> - <pre> - ## local compile only - #export JOBS=$(nproc) - #export MAKEFLAGS="-j $JOBS" - - # compile using distcc - # set static cpu cores available - ##export MAKEFLAGS="-j 8" - # get dynamically cpu cores available - export MAKEFLAGS="/usr/bin/distcc -j 2> /dev/null" - export SCONSFLAGS="$MAKEFLAGS" - </pre> - <p>Set distcc hosts and respective number of cpu cores to send work, hosts names, exp; "worker" must be configured on /etc/hosts.</p> <pre> - export DISTCC_HOSTS="localhost/4 worker/4" - export DISTCC_DIR="/urs/ports/distcc" + export DISTCC_DIR="/usr/ports/distcc" + + # compile using ccache and distcc + export DISTCC_HOSTS="localhost/4 xborg/4" + + # compile using distcc without ccache + #export PATH="/usr/lib/distcc/:$PATH" + #export DISTCC_HOSTS="localhost/4,lzo,cpp xborg/4,lzo,cpp cb1/2,lzo,cpp" + + export MAKEFLAGS="-j $(/usr/bin/distcc -j 2> /dev/null)" + export SCONSFLAGS="$MAKEFLAGS" </pre> <p>Configure distcc daemon, edit |