Date: Wed, 08 Apr 2020 20:12:35 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 245461] net-mgmt/icinga2 [patch] add option to build without unity build system on low memory systems Message-ID: <bug-245461-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245461 Bug ID: 245461 Summary: net-mgmt/icinga2 [patch] add option to build without unity build system on low memory systems Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: lme@FreeBSD.org Reporter: alexander@wittig.name Flags: maintainer-feedback?(lme@FreeBSD.org) Assignee: lme@FreeBSD.org Created attachment 213201 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D213201&action= =3Dedit patch for net-mgmt/icinga2/Makefile By default icinga2 builds using their unity build system which concatenates= all their source files into one huge file to compile in one go for speed (see https://icinga.com/docs/icinga2/v2.11.0-rc1/doc/21-development/). Unfortunately, this is a straight trade of RAM for time, meaning the build fails for systems with low memory (< 4 GB). This is also the reason behind = bug #221797 prohibiting building icinga2 on an RPi. The attached patch exposes an option (on by default =3D> no change in defau= lt port behavior) to disable the unity build system for such systems. This lea= ds to longer compilation time as each source file is built separately, but the build requires only 10% of the memory. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245461-7788>