diff options
Diffstat (limited to 'core/conf/pkgmk.conf')
-rw-r--r-- | core/conf/pkgmk.conf | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/core/conf/pkgmk.conf b/core/conf/pkgmk.conf index 18d8730..c94fea7 100644 --- a/core/conf/pkgmk.conf +++ b/core/conf/pkgmk.conf @@ -2,12 +2,20 @@ # /etc/pkgmk.conf: pkgmk(8) configuration # -export CFLAGS="-O2 -march=x86-64" +export CFLAGS="-O2 -g -march=x86-64" export CXXFLAGS="${CFLAGS}" +# 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" + case ${PKGMK_ARCH} in "64"|"") ;; @@ -23,16 +31,14 @@ case ${PKGMK_ARCH} in ;; esac -PKGMK_SOURCE_MIRRORS=(https://hive.gnu.systems/mirror/distfiles/) +PKGMK_SOURCE_MIRRORS=(http://c1.ank/distfiles/ http://c1.ank/archive/distfiles/) # PKGMK_SOURCE_DIR="$PWD" PKGMK_SOURCE_DIR="/usr/ports/distfiles" # PKGMK_PACKAGE_DIR="$PWD" PKGMK_PACKAGE_DIR="/usr/ports/packages" # PKGMK_WORK_DIR="$PWD/work" -PKGMK_WORK_DIR="/usr/ports/work/${name}" +PKGMK_WORK_DIR="/usr/ports/work/$name" # PKGMK_DOWNLOAD="no" -# PKGMK_IGNORE_SIGNATURE="no" -# PKGMK_IGNORE_MD5SUM="no" # PKGMK_IGNORE_FOOTPRINT="no" # PKGMK_IGNORE_NEW="no" # PKGMK_NO_STRIP="no" @@ -40,5 +46,15 @@ PKGMK_WORK_DIR="/usr/ports/work/${name}" # PKGMK_WGET_OPTS="" # PKGMK_CURL_OPTS="" # PKGMK_COMPRESSION_MODE="gz" +# PKGMK_UP_TO_DATE=yes + +## ccache settings +#export PATH="/usr/lib/ccache/:$PATH" +#export CCACHE_DIR="/usr/ports/cache/ccache" +#export CCACHE_PREFIX="distcc" +#export CCACHE_COMPILERCHECK="%compiler% -dumpversion; crux" +# +#export DISTCC_HOSTS="localhost/4 worker/4" +#export DISTCC_DIR="/urs/ports/distcc" # End of file |