summaryrefslogtreecommitdiff
path: root/mk/bulk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-18 09:04:53 +0000
committerrillig <rillig@pkgsrc.org>2007-01-18 09:04:53 +0000
commit74f1e0b9b309b7793afe17a57c9c447778b38a43 (patch)
treea2f5c8b25c2b974cd55e0775bbf93c4511cc95de /mk/bulk
parent57449dc3e8bad9d92e868bbb8f06d69194e97d9e (diff)
downloadpkgsrc-74f1e0b9b309b7793afe17a57c9c447778b38a43.tar.gz
pkgsrc bulk builds need much CPU time, but do they also need much stack?
Diffstat (limited to 'mk/bulk')
-rw-r--r--mk/bulk/build7
1 files changed, 4 insertions, 3 deletions
diff --git a/mk/bulk/build b/mk/bulk/build
index 83bb233e9f0..7801b8d75bd 100644
--- a/mk/bulk/build
+++ b/mk/bulk/build
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: build,v 1.97 2006/12/15 12:46:24 martti Exp $
+# $NetBSD: build,v 1.98 2007/01/18 09:04:53 rillig Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
@@ -200,8 +200,9 @@ do_common_setup () {
#
# Set resource limits as high as possible
#
- ulimit -S -s `ulimit -H -s`
- ulimit -S -d `ulimit -H -d`
+ ulimit -S -s `ulimit -H -s` # XXX: why do we need unlimited stack?
+ ulimit -S -d `ulimit -H -d` # some processes grow rather large
+ ulimit -S -t `ulimit -H -t` # pkgsrc bulk builds need _much_ time
#
# Find the configuration file.