03-19-2021, 11:52 AM
(03-19-2021, 11:39 AM)popej Wrote:(03-19-2021, 11:06 AM)Tim Curtis Wrote: I wouldn't be surprised if compiling something like upmpdcli on a single core Pi takes like 2 or 3 hours or maybe even longer :-0
I gave up after 80 minutes
The problem is that update forces 4 tasks for compilation with "make -j4". RPi Zero shows like load average above 10, full memory in use and kswapd0 as a top CPU consumer. Would be nice to configure update script for low memory or single CPU.
It would prolly be same on a single core w/o -J4. I remember when we had to compile librespot on an ARM6 and it took like 4 or 5 hours.
The -j4 option cuts compile time roughly in half on multi-core ARM's and so the decision to use it in the in-place update for the complex upmpdcli and libupnpp-bindings was made to benefit the ARM7 population which I'm guessing is the platform the majority of moOde users are running.
I suppose for single-core Pi's the recommendation would be to use the image instead of the in-place update. I'll update the instructions.