diff options
author | Silvino Silva <silvino@bk.ru> | 2020-04-20 01:03:12 +0100 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2020-04-20 01:03:12 +0100 |
commit | 6ca80c0a296cb44bc2b335211df86e8a95383cdf (patch) | |
tree | 809ca0fc2eee0353d7040539310605d0e113b3d7 /core/conf/pkgmk.conf | |
parent | fd186246f96768b8398f0ffe32ef136cb895fa21 (diff) | |
parent | 5eec098c537ed98f76af59c37a54cb45645cc2a6 (diff) | |
download | doc-6ca80c0a296cb44bc2b335211df86e8a95383cdf.tar.gz |
Merge branch 'master' into develop
Diffstat (limited to 'core/conf/pkgmk.conf')
-rw-r--r-- | core/conf/pkgmk.conf | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/core/conf/pkgmk.conf b/core/conf/pkgmk.conf index 4d689ec..3ae582d 100644 --- a/core/conf/pkgmk.conf +++ b/core/conf/pkgmk.conf @@ -5,30 +5,26 @@ export CFLAGS="-O2 -march=x86-64" export CXXFLAGS="${CFLAGS}" -## ccache settings +# local compile only +export JOBS=$(nproc) +export MAKEFLAGS="-j $JOBS" + +# ccache settings #export PATH="/usr/lib/ccache/:$PATH" #export CCACHE_DIR="/usr/ports/ccache" #export CCACHE_PREFIX="distcc" #export CCACHE_COMPILERCHECK="%compiler% -dumpversion; crux" -# -## compile using ccache and distcc -#export DISTCC_HOSTS="localhost/4 xborg/4" -# -### compile using distcc without ccache + +## compile using distcc without ccache ##export PATH="/usr/lib/distcc/:$PATH" -##export DISTCC_HOSTS="localhost/4,lzo,cpp xborg/4,lzo,cpp" -##export PUMP_BUILD=yes -# -## distcc settings + +# distcc settings +#export DISTCC_HOSTS="localhost/4,lzo,cpp xborg/4,lzo,cpp" #export JOBS=$(/usr/bin/distcc -j 2> /dev/null) #export DISTCC_DIR="/usr/ports/distcc" #export MAKEFLAGS="-j ${JOBS}" #export SCONSFLAGS="$MAKEFLAGS" -# local compile only -export JOBS=$(nproc) -export MAKEFLAGS="-j $JOBS" - case ${PKGMK_ARCH} in "64"|"") ;; @@ -44,7 +40,7 @@ case ${PKGMK_ARCH} in ;; esac -PKGMK_SOURCE_MIRRORS=(https://hive.gnu.systems/mirror-3.4/distfiles/) +PKGMK_SOURCE_MIRRORS=(https://tribu.semdestino.org/mirror/distfiles/ https://tribu.semdestino.org/mirror/archive/distfiles/) # PKGMK_SOURCE_DIR="$PWD" PKGMK_SOURCE_DIR="/usr/ports/distfiles" # PKGMK_PACKAGE_DIR="$PWD" |