diff options
author | Silvino <silvino@bk.ru> | 2019-06-11 04:03:30 +0100 |
---|---|---|
committer | Silvino <silvino@bk.ru> | 2019-06-11 04:03:30 +0100 |
commit | f0c45e7842ef205123124ba7ec2a1d044749c328 (patch) | |
tree | a77351f4e189bfd7590a2e67d24f417be4be113c | |
parent | e52ad7baa28982fb63154d7eda40c54982f8d276 (diff) | |
download | doc-f0c45e7842ef205123124ba7ec2a1d044749c328.tar.gz |
core pkgmk with pump variable
-rw-r--r-- | core/conf/pkgmk.conf | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/conf/pkgmk.conf b/core/conf/pkgmk.conf index 7a7c6e7..eb2d573 100644 --- a/core/conf/pkgmk.conf +++ b/core/conf/pkgmk.conf @@ -5,7 +5,7 @@ export CFLAGS="-O2 -march=x86-64" export CXXFLAGS="${CFLAGS}" -## ccache settings +### ccache settings #export PATH="/usr/lib/ccache/:$PATH" #export CCACHE_DIR="/usr/ports/ccache" #export CCACHE_PREFIX="distcc" @@ -13,18 +13,19 @@ export CXXFLAGS="${CFLAGS}" #export DISTCC_DIR="/usr/ports/distcc" # ## compile using ccache and distcc +#PUMP_BUILD=no #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 PUMP_BUILD=yes # #export MAKEFLAGS="-j $(/usr/bin/distcc -j 2> /dev/null)" #export SCONSFLAGS="$MAKEFLAGS" +export JOBS=$(nproc) # local compile only -#export MAKEFLAGS="-j 8" -export JOBS=$(nproc) export MAKEFLAGS="-j $JOBS" case ${PKGMK_ARCH} in |