Re: cmake verison #cmake


Rakesh H S
 

Hi Kush,


Please check the recipe what you created and add the below line in recipe.

inherit cmake

It will resolve the cmake issue.



Rgs,
Rakesh H S



From: yocto@... <yocto@...> on behalf of lavkhush2208 via lists.yoctoproject.org <lavkhush2208=gmail.com@...>
Sent: 18 June 2021 08:29
To: yocto@... <yocto@...>
Subject: [yocto] cmake verison #cmake
 
Hello Guys

I am using pytorch-1.9 version using github source,  but i am facing an issue:-

ERROR: pytorch-v1.9.0+gitAUTOINC+ecc37184a5-r0 do_compile: 'python3 setup.py build ' execution failed.
ERROR: pytorch-v1.9.0+gitAUTOINC+ecc37184a5-r0 do_compile: Execution of '/home/kush/package-create/kush/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/pytorch/v1.9.0+gitAUTOINC+ecc37184a5-r0/temp/run.do_compile.14902' failed with exit code 1:
Building wheel torch-1.10.0a0+gitecc3718

raise RuntimeError('no cmake or cmake3 with version >= 3.5.0 found')
RuntimeError: no cmake or cmake3 with version >= 3.5.0 found
ERROR: 'python3 setup.py build ' execution failed.

if something is missing, please update me so that i can modify.

T&R
lavkhush
 
[EXT]

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.