Running bitbake imx-image-multimedia, all passes but vulkan-validation-layers keeps failing. Unsure how to proceed.
Tried to bitbake vulkan-validation-layers -c clean, but still getting same error
ERROR: Task (/opt/yocto/imx-6.6.52-2.2.0-build/sources/poky/meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.275.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1669 tasks of which 1668 didn't need to be rerun and 1 failed.
Attached the log file.
解決済! 解決策の投稿を見る。
A few suggestions for you.
1> The error log indicates that insufficient system resources caused the compilation to terminate. So, suggest to check the number of CPU cores and memory of your HOST, as well as the number of parallel compilations, etc.
2> Follow up the section
3> Try bitbake vulkan-validation-layers -c cleanall when you clean the one, then rebuild it.
Regards
Harvey
Thanks.
Running on a 6core 12thread intel with 16GB ram.
Managed to get it to work by adding this to the local.conf
BB_NUMBER_THREADS = "2"
PARALLEL_MAKE = "-j2"
A few suggestions for you.
1> The error log indicates that insufficient system resources caused the compilation to terminate. So, suggest to check the number of CPU cores and memory of your HOST, as well as the number of parallel compilations, etc.
2> Follow up the section
3> Try bitbake vulkan-validation-layers -c cleanall when you clean the one, then rebuild it.
Regards
Harvey