When I use yocto to build the sdk tool, I have been stuck in do_compile after using the bitbake meta-toolchain-qt5 command. It has been more than ten hours. The picture on the picture is that I started again. I want to ask is this appearance normal? Does normal compilation take so long?
Make sure you have enough RAM to not keep swapping to HDD, which may take forever. Use htop to check swap usage. Limiting bitbake parallel tasks to be less than CPU threads you may reduce min. RAM requirements. Keep checking swap usage, it should be 0 in the best case.
Hi @2548903578,
To build Yocto in any reasonable time you need a machine with some serious horsepower, and if you're using a VM that doesn't help.. Also the first build does all the package fetching; if your internet connection is slow the build will drag. Good news is future builds are a lot quicker once all the packages are on board. If the build is still creeping along it might just be slow internet speeds between you and the package server.
Thank you for your reply, now it has been compiled, and it is indeed a problem with the virtual machine. The configuration of the virtual machine needs to be modified.