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? OpenCV in 2022.3.0 onwards seems to be needed
only for some samples or when python3 is enabled. The python3
dependency also seems to have been removed in 2022.3.0:

https://github.com/openvinotoolkit/openvino/pull/11569/files

and from requirements.txt as well in 2023.0.

Thanks,

Anuj

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7888): 
https://lists.yoctoproject.org/g/meta-intel/message/7888
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