diff options
author | joerg <joerg> | 2015-04-21 17:01:55 +0000 |
---|---|---|
committer | joerg <joerg> | 2015-04-21 17:01:55 +0000 |
commit | 31364a34b30bc54c377b2965cd890b923ab455b2 (patch) | |
tree | b96ffd56a8517f5545b97d972b4634bc98c97669 /mk/platform/DragonFly.mk | |
parent | 553f815e69639b1ae0b99bb298d08d85b16d7ffe (diff) | |
download | pkgsrc-31364a34b30bc54c377b2965cd890b923ab455b2.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/platform/DragonFly.mk')
-rw-r--r-- | mk/platform/DragonFly.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/platform/DragonFly.mk b/mk/platform/DragonFly.mk index bb2d74561d3..2b985585170 100644 --- a/mk/platform/DragonFly.mk +++ b/mk/platform/DragonFly.mk @@ -1,4 +1,4 @@ -# $NetBSD: DragonFly.mk,v 1.45 2014/07/25 23:40:01 ryoon Exp $ +# $NetBSD: DragonFly.mk,v 1.46 2015/04/21 17:01:56 joerg Exp $ # # Variable definitions for the DragonFly operating system. @@ -23,6 +23,7 @@ ROOT_GROUP?= wheel ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d` ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s` ULIMIT_CMD_memorysize?= ulimit -m `ulimit -H -m` +ULIMIT_CMD_cputime?= ulimit -t `ulimit -H -t` _OPSYS_EMULDIR.linux= /compat/linux |