diff options
Diffstat (limited to 'core/conf/pkgmk.conf')
-rw-r--r-- | core/conf/pkgmk.conf | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/core/conf/pkgmk.conf b/core/conf/pkgmk.conf index 4085a38..4d689ec 100644 --- a/core/conf/pkgmk.conf +++ b/core/conf/pkgmk.conf @@ -2,10 +2,32 @@ # /etc/pkgmk.conf: pkgmk(8) configuration # -export CFLAGS="-O2 -g -march=x86-64 -pipe" +export CFLAGS="-O2 -march=x86-64" export CXXFLAGS="${CFLAGS}" -# export MAKEFLAGS="-j2" +## 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 +##export PATH="/usr/lib/distcc/:$PATH" +##export DISTCC_HOSTS="localhost/4,lzo,cpp xborg/4,lzo,cpp" +##export PUMP_BUILD=yes +# +## distcc settings +#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"|"") @@ -22,7 +44,7 @@ case ${PKGMK_ARCH} in ;; esac -#PKGMK_SOURCE_MIRRORS=(http://machine.example.org/ports/distfiles/) +PKGMK_SOURCE_MIRRORS=(https://hive.gnu.systems/mirror-3.4/distfiles/) # PKGMK_SOURCE_DIR="$PWD" PKGMK_SOURCE_DIR="/usr/ports/distfiles" # PKGMK_PACKAGE_DIR="$PWD" @@ -37,5 +59,6 @@ PKGMK_WORK_DIR="/usr/ports/work/$name" # PKGMK_WGET_OPTS="" # PKGMK_CURL_OPTS="" # PKGMK_COMPRESSION_MODE="gz" +# PKGMK_UP_TO_DATE=yes # End of file |