Distribution/Package (Yocto) really slow bitbake compilation
Hi there,
I'm starting developing on an STM32MP157F-DK2 kit, and I wanted to build my own distribution, starting from the distribution package (STM32MP1 Distribution Package - stm32mpu). At the first compilation, the bitbake st-image-weston takes reaaaally long time. I already used Yocto with older projects, using competitors' boards, and I never faced such a slow compilation time, which seems weird to me.
Do you have any suggestions to speed up the process for your distribution?
I tried already to modify BB_NUMBER_THREADS and PARALLEL_MAKE parameters in local.conf file but I didn't notice any real difference. Other ideas?
PS: I'm running my compilation on a virtual machine (running Ubuntu 20.04 lts OS), which has the minimum raccomandations that I found in some other thread here (sorry I don't remember where exactly): 6Gb of ram (ddr4 3200mhz) and 2 cores of physical CPU (intel i7-1165G7), totally not a bad machine in my opinion.
Thank you
Simone
