summaryrefslogtreecommitdiff
path: root/mk/help
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2015-04-21 17:01:55 +0000
committerjoerg <joerg@pkgsrc.org>2015-04-21 17:01:55 +0000
commitfc2af1e1010437fab1e3bdc7a831c15fc7139c86 (patch)
treeb96ffd56a8517f5545b97d972b4634bc98c97669 /mk/help
parentddb007f98c8de5f4ad8d451496d5ffa1c6a78237 (diff)
downloadpkgsrc-fc2af1e1010437fab1e3bdc7a831c15fc7139c86.tar.gz
Add a new ulimit modifier for cputime. Support raising limits for
package creation. There are very few things in pkgsrc that needs more than one hour per process on decently fast hardware, so setting that as (soft) limit for bulk builds avoids the infinite loops seen in some other packages. There are a few select exceptions, i.e. flightgear-data needs more than one hour for pkg_create when using xz. This flag allows selectively giving those places more time without wasting resources in the broken cases.
Diffstat (limited to 'mk/help')
-rw-r--r--mk/help/ulimit.help3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/help/ulimit.help b/mk/help/ulimit.help
index 12cdc519e17..9e3828fcf58 100644
--- a/mk/help/ulimit.help
+++ b/mk/help/ulimit.help
@@ -1,4 +1,4 @@
-# $NetBSD: ulimit.help,v 1.1 2009/05/10 16:10:18 rillig Exp $
+# $NetBSD: ulimit.help,v 1.2 2015/04/21 17:01:55 joerg Exp $
#
# UNLIMIT_RESOURCES
@@ -9,5 +9,6 @@
# * datasize
# * stacksize
# * memorysize
+# * cputime
#
# Keywords: ulimit unlimit memory ENOMEM