[yocto] Install Torch7

Fabien Lahoudere fabien.lahoudere at collabora.co.uk
Thu May 18 06:17:02 PDT 2017


On Thu, 2017-05-18 at 12:02 +0000, Abayiz wrote:
> Dear Fabien, 
> 
> Thank you very much for your reply. 
> No, I didn't try 'devtool edit-recipe torch' to add dependencies. Actually I didn't know how to
> add them. Is there any way to directly call that .sh file there??
> Could you give me a minimal example to illustrate it? 

Usually we add build dependencies with DEPENDS = "..." and runtime dependencies with RDEPENDS =
"..."

So you need to check dependencies installed by "bash install-deps".
Can you list them? Maybe recipes exists in which case you have to add them to the variable described
above.


> 
> Thank you. 
> 
> 
> 
> On Thursday, May 18, 2017 10:17 AM, Fabien Lahoudere <fabien.lahoudere at collabora.co.uk> wrote:
> 
> 
> On Wed, 2017-05-17 at 08:37 +0000, Abayiz wrote:
> > Dear all, 
>> > I'm quite new to Yocto, I've successfully built qemu and ran helloworld example on it. Now I'm
> > trying to install Torch 7 (https://github.com/torch/torch7) library. What I did is: 
>> > devtool add torch https://github.com/torch/torch7.git
> > devtool build torch
>> > But the build exits with error, in the attachment I share the log file with you. 
> > My host machine runs Ubuntu 16.04 LTS, and Torch7 is successfully running on it. The
> installation
> > of Torch first requires to run the 'bash install-deps' command on Ubuntu. My rough estimation is
> > that Yocto seems like cannot build those dependencies automatically. 
>> > Could someone give any help on it? Installing Torch7 is very important to my project now, thank
> > you in advance. 
>> 
> Do you try "devtool edit-recipe torch" to add dependencies to the recipe and configure "cache
> variables" approprietly?
> 
> 
> > Best, 
> > Abayiz
> 
>> -- 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
> 
> 
> 



More information about the yocto mailing list