Building cmake uses a high amount of memory (>2G) and fails to build on my system. Using less processes reduces memory usage and lets the build succeed.
Signed-off-by: Daniel Weismüller daniel.weismueller@ipfire.org --- lfs/cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lfs/cmake b/lfs/cmake index e3d2119..a9ada50 100644 --- a/lfs/cmake +++ b/lfs/cmake @@ -32,9 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP)
-ifeq "$(MACHINE)" "armv5tel" - MAKETUNING = -j2 -endif +MAKETUNING = -j2
############################################################################### # Top-level Rules
Hello Daniel,
thanks for this build fix.
There might be others as well as someone has recently reported on the bugtracker that too much memory is used during the first build.
Best, -Michael
On Fri, 2016-01-22 at 12:10 +0100, Daniel Weismüller wrote:
Building cmake uses a high amount of memory (>2G) and fails to build on my system. Using less processes reduces memory usage and lets the build succeed.
Signed-off-by: Daniel Weismüller daniel.weismueller@ipfire.org
lfs/cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lfs/cmake b/lfs/cmake index e3d2119..a9ada50 100644 --- a/lfs/cmake +++ b/lfs/cmake @@ -32,9 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP)
-ifeq "$(MACHINE)" "armv5tel"
- MAKETUNING = -j2
-endif +MAKETUNING = -j2
#################################################################### ########### # Top-level Rules