Yocto build fail (vulkan-validation-layers)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Yocto build fail (vulkan-validation-layers)

ソリューションへジャンプ
1,073件の閲覧回数
intosite
Contributor II

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.

0 件の賞賛
返信
1 解決策
1,053件の閲覧回数
Harvey021
NXP TechSupport
NXP TechSupport

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 Host Setup> Yocto User Guide, like the version of Ubuntu, Host packages.

3> Try bitbake vulkan-validation-layers -c cleanall when you clean the one, then rebuild it.

 

Regards

Harvey

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,007件の閲覧回数
intosite
Contributor II

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" 

 

0 件の賞賛
返信
1,054件の閲覧回数
Harvey021
NXP TechSupport
NXP TechSupport

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 Host Setup> Yocto User Guide, like the version of Ubuntu, Host packages.

3> Try bitbake vulkan-validation-layers -c cleanall when you clean the one, then rebuild it.

 

Regards

Harvey

0 件の賞賛
返信