[Bug 245461] net-mgmt/icinga2 [patch] add option to build without unity build system on low memory systems
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Apr 8 20:12:36 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245461
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 at FreeBSD.org
Reporter: alexander at wittig.name
Flags: maintainer-feedback?(lme at FreeBSD.org)
Assignee: lme at FreeBSD.org
Created attachment 213201
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=213201&action=edit
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 => no change in default
port behavior) to disable the unity build system for such systems. This leads
to longer compilation time as each source file is built separately, but the
build requires only 10% of the memory.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list