Module: check_mk
Branch: master
Commit: 7f65a6c934e8e67147a7472f3b345f8cf554e824
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7f65a6c934e8e6…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Dec 21 13:35:41 2017 +0100
Bump time limit, allowing builds even on slow embedded systems.
Change-Id: I7ee6d4633aa35f0e6577a810d8bfc69c0810e4d6
---
omd/packages/perl-modules/lib/BuildHelper.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/omd/packages/perl-modules/lib/BuildHelper.pm
b/omd/packages/perl-modules/lib/BuildHelper.pm
index 12342df..9633f3c 100644
--- a/omd/packages/perl-modules/lib/BuildHelper.pm
+++ b/omd/packages/perl-modules/lib/BuildHelper.pm
@@ -430,7 +430,7 @@ sub install_module {
eval {
local $SIG{ALRM} = sub { die "timeout on: $file\n" };
- alarm(120); # single module should not take longer than 1 minute
+ alarm(1200); # 20min per module should be enough to build even on e.g. Raspberry
Pi
if( -f "Build.PL" ) {
`$PERL Build.PL >> $LOG 2>&1 && $PERL ./Build >>
$LOG 2>&1 && $PERL ./Build install >> $LOG 2>&1`;
if($? != 0 ) { die("error: rc $?\n".`cat $LOG`."\n"); }