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
* openvino support in opencv
So there really is no sense of moving the opencv dependency
to a PACKAGECONFIG at this point because the circular
dependency would still be there if both dependencies are
enabled.
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.
Then this whole "initial" recipe dance won't be needed
with 2023.0 at all if opencv is not used by openvino in
the new version.
It is only needed now because openvino-inference-engine
explicitly wants opencv and building opencv with
openvino support creates a circular build dependency.
The PACKAGECONFIG line for opencv is in meta-oe master-next
and will have to be modified then.
I need to build opencv with openvino support *now*
(and vice versa) and who knows when 2023.0 will be released.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7889):
https://lists.yoctoproject.org/g/meta-intel/message/7889
Mute This Topic: https://lists.yoctoproject.org/mt/97798972/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-