On Sat, 2023-03-25 at 08:25 +0100, Böszörményi Zoltán wrote:
> 2023. 03. 24. 4:10 keltezéssel, Mittal, Anuj írta:
> > On Fri, 2023-03-24 at 04:07 +0100, Zoltan Boszormenyi wrote:
> > > 2023. 03. 24. 3:07 keltezéssel, Anuj Mittal írta:
> > > > On Thu, 2023-03-23 at 12:55 +0100, Zoltan Boszormenyi wrote:
> > > > > OpenVINO can be built with OpenCV support and OpenCV can be
> > > > > built
> > > > > with OpenVINO support. It would be a circular dependency.
> > > > > 
> > > > > The "initial" variant that won't show up in runtime
> > > > > dependencies
> > > > > allows resolving the circular dependency.
> > > > > 
> > > > > Signed-off-by: Zoltán Böszörményi <[email protected]>
> > > > > ---
> > > > >    .../opencv/openvino-inference-engine-initial_2022.3.0.bb
> > > > > > 3
> > > > > +++
> > > > >    1 file changed, 3 insertions(+)
> > > > >    create mode 100644 dynamic-layers/openembedded-
> > > > > layer/recipes-
> > > > > support/opencv/openvino-inference-engine-initial_2022.3.0.bb
> > > > > 
> > > > > diff --git a/dynamic-layers/openembedded-layer/recipes-
> > > > > support/opencv/openvino-inference-engine-initial_2022.3.0.bb
> > > > > b/dynamic-layers/openembedded-layer/recipes-
> > > > > support/opencv/openvino-
> > > > > inference-engine-initial_2022.3.0.bb
> > > > > new file mode 100644
> > > > > index 00000000..12247255
> > > > > --- /dev/null
> > > > > +++ b/dynamic-layers/openembedded-layer/recipes-
> > > > > support/opencv/openvino-inference-engine-initial_2022.3.0.bb
> > > > > @@ -0,0 +1,3 @@
> > > > > +require openvino-inference-engine_${PV}.bb
> > > > > +
> > > > > +DEPENDS:remove = "opencv"
> > > > Can this be moved to a PACKAGECONFIG (and not enabled by
> > > > default)
> > > > in
> > > > the main recipe itself?
> > > I need both directions now with the current versions:
> > > * opencv support in openvino
> > What does this enable? I can't see it in code except some samples.
> 
> It's not that *I* need it. This is the current state of affairs
> because openvino-inference-engine DEPENDS on opencv.
> Enabling openvino support in opencv (which does use
> header and library dependencies for the openvino model loader)
> creates a circular build dependency that Yocto chokes on.
> 
> I can also see that PACKAGECONFIG[python3] adds runtime
> dependency on python3-opencv explicitly.

I think this can be removed. I will check.

> Also, the ${PN}-samples adds an explicit runtime dependency
> on one of the .so files shipped by python3-opencv.
> If it's not actually the case, please clean it up.

This is required but I think can be in a separate PACKAGECONFIG so you
can disable it in your conf. I will test and send the patches.

Thanks,

Anuj
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7893): 
https://lists.yoctoproject.org/g/meta-intel/message/7893
Mute This Topic: https://lists.yoctoproject.org/mt/97798972/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/meta-intel/leave/6694807/21656/1869269227/xyzzy
 [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to