Project

General

Profile

Long build times

Added by Nathan Olson 9 days ago

Hello,

I am extending the BSP with my own layer. It seems like whenever I make a change, a lot of unrelated files get recompiled (for example cameradlkm-1.0.qcom-r0, qcom-displaydlkm-git-r0, qcom-pal-git-r0, qcacld-wlan-git-r0, ...). This takes a long time and seems unnecessary. Is there a way I can avoid this?

Each time I build a run a script that contains the following:

export EXTRALAYERS="meta-mitysom-qc6490-5430-devkit meta-qcom-qim-product-sdk meta-my-layer" 
MACHINE=qcs6490-mitysom-devkit DISTRO=qcom-wayland QCOM_SELECTED_BSP=custom source setup-environment
bitbake qcom-multimedia-image

Replies (2)

RE: Long build times - Added by Gregory Gluszek 6 days ago

Hi Nathan,

We have similar experiences. Unfortunately we do not currently have a fix. We are building off of Qualcomm's methodology and there is a lot of complexity there that we haven't needed to dig into yet. We will update this issue if we do find a solution.

As a frame of reference, a clean build typically takes ~1-2 hours on my setup, while a rebuild takes ~10 minutes. Please let me know if you're not seeing the same relative difference in clean build vs rebuild, in case I'm misunderstanding what you're dealing with.

Thanks,
Greg

RE: Long build times - Added by Nathan Olson 5 days ago

That matches what I'm seeing, although it seems your machine is much faster than mine. For me it's about 7 hours for a clean build, and 28 minutes for a rebuild.

    (1-2/2)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)