diff options
author | just_fun <just.the.real.fun@gmail.com> | 2017-08-06 17:35:14 +0300 |
---|---|---|
committer | Fredrik Rinnestam <fredrik@crux.nu> | 2017-09-20 17:49:07 +0200 |
commit | 7a4d802ecf9315f067da356de6afc1b1b3fdc258 (patch) | |
tree | 229c5694a257a9b007ac372e993ddcbd9065b822 | |
parent | 35b56a38e08e15ecf88925ba03f5ffda2ddbec6f (diff) | |
download | pkgutils-7a4d802ecf9315f067da356de6afc1b1b3fdc258.tar.gz pkgutils-7a4d802ecf9315f067da356de6afc1b1b3fdc258.tar.xz |
Add JOBS to pkgmk.conf
-rw-r--r-- | pkgmk.conf | 3 | ||||
-rw-r--r-- | pkgmk.conf.5.in | 5 |
2 files changed, 7 insertions, 1 deletions
@@ -5,7 +5,8 @@ export CFLAGS="-O2 -march=x86-64 -pipe" export CXXFLAGS="${CFLAGS}" -# export MAKEFLAGS="-j2" +# export JOBS=$(nproc) +# export MAKEFLAGS="-j $JOBS" case ${PKGMK_ARCH} in "64"|"") diff --git a/pkgmk.conf.5.in b/pkgmk.conf.5.in index 9be2e4f6..742b326a 100644 --- a/pkgmk.conf.5.in +++ b/pkgmk.conf.5.in @@ -19,6 +19,11 @@ Set C++ compiler options. .br Default: none .TP +\fBexport JOBS='NUMBER'\fP +Set the number of commands to run simultaneously when building a port. +.br +Default: none +.TP \fBexport MAKEFLAGS='STRING'\fP Set make options. .br |