[OE-core] QUERY regarding package inclusion - Yocto

Rajath C S rajathcs.1996 at gmail.com
Thu Mar 22 07:48:20 UTC 2018


i'd like to know if the recipe named 'tensorrt' in the layer 'meta-tegra'
equivalent to tensorflow? Because i need to install tensorflow packages on
to my yocto image and there are no recipes for it

Rajath C S,
9964182112,
Bangalore - 560060

On Thu, Mar 22, 2018 at 1:16 PM, Rajath C S <rajathcs.1996 at gmail.com> wrote:

> Hi Vincent,
>
>
> where should i be adding this line i mean in which file?
> DEPENDS = "python3-numpy python3-dev python3-pip python3-wheel"
>
> Thanks
>
> Rajath C S,
> 9964182112,
> Bangalore - 560060
>
> On Wed, Mar 21, 2018 at 3:24 PM, Vincent Prince <
> vincent.prince.fr at gmail.com> wrote:
>
>> Hi,
>>
>> There is no support for those yet, so you need to create recipes for
>> them.
>>
>> You can use devtool workflow to do so, i suggest you to look at this
>> video
>> https://www.youtube.com/watch?v=CiD7rB35CRE
>>
>> Every recipes are quite different and reflects how you build them by
>> hand.
>>
>> For tensorflow, first step will be
>> devtool add tensorflow https://github.com/tensorflow/tensorflow
>>
>> Then, you need to look at https://www.tensorflow.org/
>> install/install_sources, and translate it into yocto recipe.
>> For instance, it says it depends on several python packages, so in recipe
>> you will probably need to add those with:
>>
>> DEPENDS = "python3-numpy python3-dev python3-pip python3-wheel"
>>
>> You can look at those url too:
>> https://github.com/snipsco/tensorflow-build
>> https://github.com/madisongh/meta-tegra/blob/master/recipes-
>> devtools/gie/tensorrt_2.1-20170614-1-1.bb
>> https://groups.google.com/forum/?utm_medium=email&utm_source
>> =footer#!msg/bazel-discuss/TmBDKmoEvlI/GXng74b_AAAJ
>> https://stackoverflow.com/questions/36545388/use-pip-install
>> -command-in-recipes-yocto-project
>>
>> It's a hard job, and as seems new to Yocto, I suggest you to hire some
>> guy, or at least try to create easier recipes before.
>>
>> Cheers
>>
>>
>>
>> 2018-03-20 5:37 GMT+01:00 Rajath C S <rajathcs.1996 at gmail.com>:
>>
>>> Dear Vincent,
>>>
>>> I am working on yocto from few weeks and my current goal is to include
>>> few set of packages.
>>> Initially i thought i will download the repo of those packages and
>>> compile them and copy the compiled binaries to yocto image, apparently
>>> which i dint know how exactly to be done. So, i followed the method of
>>> recipe & layers.
>>>
>>> Now i need to include *'keras'* and* 'tensorflow'* packages in Poky, i
>>> am not able to find any source that helps me do it and i dont know how to
>>> do it from source. Could you please guide me through this (either the
>>> recipe way or compiling from source way is fine)
>>>
>>> Thank You,
>>>
>>> Rajath C S,
>>> 9964182112,
>>> Bangalore - 560060
>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180322/ae70bb63/attachment-0002.html>


More information about the Openembedded-core mailing list