bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] AM_MAKEFLAGS = -j 4


From: Christian Robert
Subject: [Bug-apl] AM_MAKEFLAGS = -j 4
Date: Wed, 27 Jul 2016 21:54:02 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Juergen,

can you remove the "-j 4" from the src/Makefile.am and src/Makefile.in


address@hidden:/home/xtian/gnuapl] $ find . -name "Makefile*" -exec fgrep -Hr -- "-j 
4" {} \;
./src/Makefile.am:AM_MAKEFLAGS = -j 4
./src/Makefile.in:AM_MAKEFLAGS = -j 4
./src/Makefile:AM_MAKEFLAGS = -j 4



This "-j 4" literally kill my small VirtualBox (1 CPU and 768 Megs of RAM),
the machine start to swap and take 30 minutes to do the compile ... sometimes 
die with OOM (Out Of Memory).

the right way to force parallel compile is to type the "-j 1" or even "-j 128"
on the command line of the initial "make".

example:

address@hidden:/home/xtian/gnuapl] $ make -j 1

but even if I do that, the value "-j 4" hard coded in src/Makefile override my
first request and sometime kill the whole compile/machine.

many thanks,

Xtian.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]