summaryrefslogtreecommitdiff
path: root/mk/help
diff options
context:
space:
mode:
authorjoerg <joerg>2015-04-21 17:01:55 +0000
committerjoerg <joerg>2015-04-21 17:01:55 +0000
commitad96cd8a6c444244b0c4ba965d5c6b97994bae41 (patch)
treeb96ffd56a8517f5545b97d972b4634bc98c97669 /mk/help
parent5303e7481e6999874551c38c4d62ecf130b12a33 (diff)
downloadpkgsrc-ad96cd8a6c444244b0c4ba965d5c6b97994bae41.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