Page 1 of 1

Compiling from source on pi platform very slow ...

Posted: Friday 19 February 2016 12:06
by rimram31
Hi,

To share with you. Rebuilding domoticz from source on a pi 2 platform with a fresh install (raspbian jessie) is very very slow and it may occur memory issues. The problem come from the -j 4 option of the wiki ... Or don't use this -j option or add swap to be able to compile easily.

Re: Compiling from source on pi platform very slow ...

Posted: Friday 19 February 2016 21:29
by nayr
the -j4 option is only for people with the RPi2, which has quad cores.. if you run that on a single core Pi1 then your in for some hurt.

Re: Compiling from source on pi platform very slow ...

Posted: Saturday 05 March 2016 11:52
by rimram31
nayr wrote:the -j4 option is only for people with the RPi2, which has quad cores...
I'm talking about a PI2 building domoticz on raspbian Jessie. Perhaps Jessie matter as I've been able to compile with -j4 option adding swap but I think the option is useless. At least for my last installations on Jessie, -j4 this is not working at all.

Re: Compiling from source on pi platform very slow ...

Posted: Thursday 10 March 2016 2:47
by nayr
add a temporary swap file or use -j3 then