Re: [yocto] Integration of Conan Package Manager into the Yocto Project

2019-08-06 Thread Dani Manzaneque
We know that this approach is a bit different from the Yocto way of
building all from sources and we acknowledge the benefits of doing so
when building for specific hardware requirements. However, this
integration has been requested by Conan users already managing their
packages with Conan for other platforms that wanted to be able to
deploy their libraries or applications into a Linux image generated
with Yocto.

This is the first step towards that integration and we have proved it
works, but there is still room for improvement and we are fully open
to any suggestions. We will take a look at the fetcher approach that
looks quite smooth and a bit easier for users too.
Thanks a lot!

El vie., 26 jul. 2019 a las 14:47, Alexander Kanavin
() escribió:
>
> Pulling down things from the network in do_install() is not the best option. 
> Is reproducibility and integrity of such downloads guaranteed? What about the 
> component licensing, where is that checked (against upstream changes)? Also, 
> yocto's download caching and mirroring facility is side-stepped entirely.
>
> The typical 'Yocto way' would be to write a specific conan fetcher for 
> bitbake, so that you can specify SRC_URI = "conan://..." in recipes:
> https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/bitbake/lib/bb/fetch2?h=master-next
>
> Generally, if someone is doing system integration with Yocto and has access 
> to the source code, they might just write actual component recipes for 
> building from source, as the presented workflow with building via SDK and 
> artifactory binary uploads is awkward, and all benefits that happen when 
> yocto is able to build directly from source code are lost.
>
> Regards,
> Alex
>
>
> On Fri, 26 Jul 2019 at 14:39, Dani Manzaneque  
> wrote:
>>
>> Hi!
>>
>> We have developed an integration with Yocto for the open-source Conan
>> C/C++ package manager.
>> This integration includes the ability to cross-build packages with a
>> Yocto SDK Toolchain and later deploy them in the Yocto build.
>>
>> We have created a blog post with a brief introduction to the Yocto
>> Project and the announcement of the integration:
>> https://blog.conan.io/2019/07/26/Conan-Yocto-integration.html
>>
>> And a detailed section in our documentation with the configuration for
>> the meta-conan layer and the Bitbake recipes for the packages:
>> https://docs.conan.io/en/latest/integrations/cross_platform/yocto.html
>>
>> Feedback is welcomed. Thanks a lot!
>> --
>> ___
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of Conan Package Manager into the Yocto Project

2019-07-26 Thread Alexander Kanavin
Pulling down things from the network in do_install() is not the best
option. Is reproducibility and integrity of such downloads guaranteed? What
about the component licensing, where is that checked (against upstream
changes)? Also, yocto's download caching and mirroring facility is
side-stepped entirely.

The typical 'Yocto way' would be to write a specific conan fetcher for
bitbake, so that you can specify SRC_URI = "conan://..." in recipes:
https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/bitbake/lib/bb/fetch2?h=master-next

Generally, if someone is doing system integration with Yocto and has access
to the source code, they might just write actual component recipes for
building from source, as the presented workflow with building via SDK and
artifactory binary uploads is awkward, and all benefits that happen when
yocto is able to build directly from source code are lost.

Regards,
Alex


On Fri, 26 Jul 2019 at 14:39, Dani Manzaneque 
wrote:

> Hi!
>
> We have developed an integration with Yocto for the open-source Conan
> C/C++ package manager.
> This integration includes the ability to cross-build packages with a
> Yocto SDK Toolchain and later deploy them in the Yocto build.
>
> We have created a blog post with a brief introduction to the Yocto
> Project and the announcement of the integration:
> https://blog.conan.io/2019/07/26/Conan-Yocto-integration.html
>
> And a detailed section in our documentation with the configuration for
> the meta-conan layer and the Bitbake recipes for the packages:
> https://docs.conan.io/en/latest/integrations/cross_platform/yocto.html
>
> Feedback is welcomed. Thanks a lot!
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Integration of Conan Package Manager into the Yocto Project

2019-07-26 Thread Dani Manzaneque
Hi!

We have developed an integration with Yocto for the open-source Conan
C/C++ package manager.
This integration includes the ability to cross-build packages with a
Yocto SDK Toolchain and later deploy them in the Yocto build.

We have created a blog post with a brief introduction to the Yocto
Project and the announcement of the integration:
https://blog.conan.io/2019/07/26/Conan-Yocto-integration.html

And a detailed section in our documentation with the configuration for
the meta-conan layer and the Bitbake recipes for the packages:
https://docs.conan.io/en/latest/integrations/cross_platform/yocto.html

Feedback is welcomed. Thanks a lot!
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto