Commit Graph

95 Commits

Author SHA1 Message Date
Yogesh Tyagi
11c41c9a46 open-model-zoo : upgrade 2024.0.0 -> 2024.1.0
Release Notes:
https://github.com/openvinotoolkit/open_model_zoo/releases/tag/2024.1.0

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-05-03 10:13:09 +08:00
Yogesh Tyagi
374a26b501 openvino-inference-engine : upgrade 2024.0.0 -> 2024.1.0
- Disable NPU plugin for now and enable it in a later change
- Drop backported patch which is now avialable in this version
- Drop patch which is already merged upstream
- Refresh patches

Release Notes:
https://github.com/openvinotoolkit/openvino/releases/tag/2024.1.0

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-05-03 10:13:09 +08:00
Anuj Mittal
7864daf8ec recipes: avoid using WORKDIR in do_install
Replace usage of WORKDIR in do_compile/do_install by ${S} or ${B}. It
also helps with cases when externalsrc is used like with devtool.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-04-29 16:20:58 +08:00
Yogesh Tyagi
674e223dba open-model-zoo : upgrade 2023.3.0 -> 2024.0.0
Release Notes:
https://github.com/openvinotoolkit/open_model_zoo/releases/tag/2024.0.0

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-03-20 13:41:10 +08:00
Yogesh Tyagi
06781f8c81 openvino-inference-engine : upgrade 2023.3.0 -> 2024.0.0
- Removed the Cython patch, which is no longer relevant
  as Legacy IE python API has been removed:
  a561a2a484

- Remove cython dependency as well from recipe

- Remove the switch disabling MLAS support. It's enabled by default.
  Fetch the submodule as well and include the file pointing to its
  Apache-2.0 license in LIC_FILES_CHKSUM.

- Update conditional check to exclude directories which have "/usr/include"
  in them to not add <sysroot>/usr/include as well.

- Backport a patch which solves the build failure caused by setting the
  "ENABLE_OV_ONNX_FRONTEND" option to "OFF"

Release Notes:
https://github.com/openvinotoolkit/openvino/releases/tag/2024.0.0

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-03-18 15:16:23 +08:00
Anuj Mittal
ef763abc2c openvino-inference-engine: drop usage of PYTHON_PN
Follow OE-core in removing usage of PYTHON_PN.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-02-23 16:10:31 +08:00
Yogesh Tyagi
5c057b4fa3 openvino-inference-engine: fix reproducibility issues
Prevent host paths from getting into target packages. Also prevents buildpaths warnings for files:

| File /usr/src/debug/openvino-inference-engine/2023.3.0/src/plugins/intel_cpu/cross-compiled/attn_memcpy_disp.cpp in package openvino-inference-engine-src contains reference to TMPDIR File
| File /usr/src/debug/openvino-inference-engine/2023.3.0/src/plugins/intel_cpu/cross-compiled/mha_single_token_disp.cpp in package openvino-inference-engine-src contains reference to TMPDIR
| File /usr/src/debug/openvino-inference-engine/2023.3.0/src/plugins/intel_cpu/cross-compiled/softmax_disp.cpp in package openvino-inference-engine-src contains reference to TMPDIR [buildpaths]

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-02-15 08:47:22 +08:00
Yogesh Tyagi
fa6a3ad97b open-model-zoo: upgrade 2023.2.0 -> 2023.3.0
Release Notes:
https://github.com/openvinotoolkit/open_model_zoo/releases/tag/2023.3.0

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-02-06 11:41:37 +08:00
Yogesh Tyagi
0593838afa openvino-inference-engine: upgrade 2023.2.0 -> 2023.3.0
This version of OpenVINO tries to fetch node-api-headers and node-addon-api at compile time using CMake's FetchContent. Download these during do_fetch instead and set FETCHCONTENT_BASE_DIR to tell CMake where the content is.

License-Update: Both new components are licensed MIT.

Release Notes:
https://github.com/openvinotoolkit/openvino/releases/tag/2023.3.0

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-02-06 11:41:37 +08:00
Yogesh Tyagi
67dab4b6a7 open-model-zoo: upgrade 2023.1.0 -> 2023.2.0
Release Notes:
https://github.com/openvinotoolkit/open_model_zoo/releases/tag/2023.2.0

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-12-07 15:14:21 +08:00
Yogesh Tyagi
c93900c6ed openvino-inference-engine: upgrade 2023.1.0 -> 2023.2.0
* Release notes:
  https://github.com/openvinotoolkit/openvino/releases/tag/2023.2.0

* Drop the patches which included header cstdint to fix build issues with gcc13 as
  these changes are already incorporated in the upstream code.

* gflags and zlib are now used as bundled dependencies
  https://github.com/openvinotoolkit/openvino/pull/20762

* Refresh the patches

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-12-01 11:43:15 +08:00
Anuj Mittal
086552f600 openvino-inference-engine: fix multilib build
Make sure Python modules are installed correctly when baselib = lib64.
Fixes errors:

15:33:18  ERROR: openvino-inference-engine-2023.1.0-r0 do_package: QA Issue: openvino-inference-engine: Files/directories were installed but not shipped in any package:
15:33:18    /usr/lib/python3.11/site-packages/_pyngraph.cpython-311-x86_64-linux-gnu.so
15:33:18    /usr/lib/python3.11/site-packages/ngraph
...
15:33:18    /usr/lib/python3.11/site-packages/openvino-2023.1.0-py3.11.egg-info/top_level.txt
15:33:18    /usr/lib/python3.11/site-packages/openvino-2023.1.0-py3.11.egg-info/SOURCES.txt
15:33:18  Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
15:33:18  openvino-inference-engine: 172 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-10-09 09:33:40 +08:00
Anuj Mittal
d04382d3f3 open-model-zoo: upgrade 2023.0.1 -> 2023.1.0
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-09-29 10:06:27 +08:00
Anuj Mittal
f9cb1d9aa9 openvino-inference-engine: upgrade 2023.0.2 -> 2023.1.0
* Release notes:
  https://github.com/openvinotoolkit/openvino/releases/tag/2023.1.0

* samples package includes scripts that need Python to be present.
  Specify that dependency explicitly.

License-Update: Updated copyright information.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-09-29 10:05:11 +08:00
Anuj Mittal
c9c5b8b1b0 openvino-inference-engine: upgrade 2023.0.1 -> 2023.0.2
Major changes:

OpenVINO GNA Plugin:
- Fixes the issue when GNA device would not work on Gemini Lake (GLK) platforms
- Fixes the problem with memory leak during HLK test
OpenVINO CPU Plugin:
- Fixes the issues occurred in Multi-Threading 2.0 getting CPU mapping detail on Windows 7 platforms
OpenVINO Core:
- Fixes the issues occurred when compiling a Pytorch model with unfold op

Release notes:
https://github.com/openvinotoolkit/openvino/releases/tag/2023.0.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-09-05 12:05:57 +08:00
Anuj Mittal
042249ca0c openvino: use SRCREV_FORMAT
Since the recipe uses multiple git repositories, set SRCREV_FORMAT.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-08-25 14:30:28 +08:00
Yogesh Tyagi
579d21af98 open-model-zoo : upgrade 2023.0.0 -> 2023.0.1
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-07-13 09:38:58 +08:00
Yogesh Tyagi
7515d740e6 openvino-inference-engine: upgrade 2023.0.0 -> 2023.0.1
* Refresh patches.
* Drop Protobuf change which disabled use of static protobuf
  libs from system. This is not needed anymore as we are now
  building Protobuf as bundled dependency.

Release Notes:
https://github.com/openvinotoolkit/openvino/releases/tag/2023.0.1

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-07-13 09:38:58 +08:00
Anuj Mittal
a499183991 openvino-inference-engine: use protobuf as a submodule
Use the version of protobuf fetched by OpenVINO instead of the
system version to avoid problems because of differences in what was
tested.

The build invokes protoc at build time so provide a qemu wrapper that
will allow that to be run on build machine.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-06-14 09:10:58 +08:00
Yogesh Tyagi
dbc3ac3084 open-model-zoo: upgrade 2022.2.0 -> 2023.0.0
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-06-09 10:52:20 +08:00
Yogesh Tyagi
348511101c openvino-inference-engine: upgrade 2022.3.0 -> 2023.0.0
* OpenVINO no longer supports vpu so remove the vpu PACKAGECONFIG and
  references.
* Now allows snappy compression to be used for TF frontend so allow
  system installed snappy.
* Flatbuffers is now needed for TF Lite frontend.
* Refresh patches.

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-06-09 10:52:17 +08:00
Anuj Mittal
8220eccbbf openvino-inference-engine: fix build with gcc13
Fix various issues when compiling with gcc13.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-31 11:24:53 +08:00
Anuj Mittal
b81ad5eb64 openvino: fix UPSTREAM_CHECK_GITTAGREGEX
We don't need to match versions with suffixes signifying they are
pre-releases.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-28 10:00:04 +08:00
Anuj Mittal
8734c6a0bc openvino-inference-engine: add PACKAGECONFIG for samples
Add an option to turn OFF compilation of samples and tools. Move the
OpenCV dependency to this PACKAGECONFIG.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-27 16:23:02 +08:00
Anuj Mittal
c420e9fc6a openvino-inference-engine: remove python3-opencv from DEPENDS
It's no longer needed to be present after the change in [1] was merged
in 2022.3.0. Also see [2].

[1] 09a0fb7890
[2] https://github.com/openvinotoolkit/openvino/pull/14617

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-27 10:57:53 +08:00
Zoltan Boszormenyi
08c5a9be5d openvino-inference-engine: Use external gflags
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-27 10:56:49 +08:00
Anuj Mittal
e338dcb73e openvino: fix UPSTREAM_CHECK_GITTAGREGEX
Make sure we don't match the pre-releases.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-14 10:22:21 +08:00
Zoltán Böszörményi
647c36eb22 openvino-inference-engine: Fix build dependency
Use virtual/opencl-icd instead of ocl-icd explicitly.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-14 09:29:33 +08:00
Anuj Mittal
1790fd8d2e openvino-inference-engine: update to latest on 2022.3 branch
Brings in support for NumPy 1.24 and support for system installed
OpenCL. Includes a newer version of myriad firmware as well.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-02-22 21:49:13 +08:00
Anuj Mittal
a9242002cb openvino-inference-engine: fix multilib build
Switch to using variables defined for RPM generation as it more closely
aligns with how we install libraries and remove the tweak done for
debian variables.

Also fixes packaging issues when BASELIB is set to lib64:

| 20:18:42  ERROR: openvino-inference-engine-2022.3.0-r0 do_package: QA Issue: openvino-inference-engine: Files/directories were installed but not shipped in any package:
| 20:18:42    /usr/lib/python3.10/site-packages/_pyngraph.cpython-310-x86_64-linux-gnu.so
| 20:18:42    /usr/lib/python3.10/site-packages/requirements.txt
...
| 20:18:42    /usr/lib/python3.10/site-packages/openvino/inference_engine/ie_api.cpython-310-x86_64-linux-gnu.so
| 20:18:42    /usr/lib/python3.10/site-packages/openvino/inference_engine/constants.cpython-310-x86_64-linux-gnu.so
| 20:18:42    /usr/lib/python3.10/site-packages/openvino/inference_engine/__init__.py

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-01-17 13:02:04 +08:00
Anuj Mittal
b15d2fbc33 openvino-inference-engine: upgrade 2022.2.0 -> 2022.3.0
* OpenVINO now installs libraries and headers correctly so we don't need
the local patches anymore.

* Switch to using pybind11 from system. json-schema-validator is no
longer used and open model zoo submodule is only used when building a
specific tool so these submodules have been removed.

* Tweak build scripts to include Yocto specific changes.

License-Update: xbyak deleted the Japaneses translation from COPYRIGHT
and nlohmann_json updated copyright years.

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-01-09 17:15:31 +08:00
Anuj Mittal
65e67f01e0 openvino-inference-engine: update pybind11
Update pybind11 SRCREV to fetch latest release tag to resolve build
issues with Python 3.11.

Fixes:

| openvino-inference-engine/2022.2.0-r0/git/src/bindings/python/thirdparty/pybind11/include/pybind11/pybind11.h:2239:52: error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'}
|  2239 |     if (frame != nullptr && (std::string) str(frame->f_code->co_name) == name
|       |                                                    ^~
| openvino-inference-engine/2022.2.0-r0/recipe-sysroot/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'PyFrameObject' {aka 'struct _frame'}
|    22 | typedef struct _frame PyFrameObject;
|       |                ^~~~~~

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-10-31 16:36:19 +08:00
Naveen Saini
46be0fa918 open-model-zoo: upgrade 2022.1.1 -> 2022.2.0
Refreshed patch.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-10-25 14:35:32 +08:00
Yogesh Tyagi
023266fcbf openvino-inference-engine : upgrade 2022.1.1 -> 2022.2.0
- Change gflag to shared as we are not building with static library.
- We are using zlib from yocto recipe, so don't add zlib as third party package
- Third party package mkl-dnn name changed to onednn upstream in openvino repo so changed
  the name accordingly in openvino-inference-engine recipe
- Refresh patches

Release Notes:
https://github.com/openvinotoolkit/openvino/releases/tag/2022.2.0

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-10-25 14:35:32 +08:00
Anuj Mittal
b5664f2f11 open-model-zoo: upgrade 2021.1 -> 2021.1.1
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-08-24 12:48:08 +08:00
Anuj Mittal
d731daf575 openvino-inference-engine: upgrade 2022.1 -> 2022.1.1
Enable an option that's is available now to use TBB from system and
refresh patches accordingly. This version also switches to using system
installed OpenCV and Intel version is not included.

Release notes:
https://github.com/openvinotoolkit/openvino/releases/tag/2022.1.1

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-08-24 12:48:08 +08:00
Anuj Mittal
50829fc987 openvino-inference-engine: enable GPU plugin
Enable back opencl PACKAGECONFIG as igc and compute runtime
can compile and work with LLVM 14 now.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-08-10 19:05:41 +08:00
Anuj Mittal
fdde909d2e openvino-inference-engine: fix reproducibility issues
Prevent host paths from getting into target packages. Also prevents
buildpaths warnings for files:

| File /usr/lib/libopenvino.so in package openvino-inference-engine contains reference to TMPDIR [buildpaths]
| File /usr/lib/python3.10/site-packages/openvino/inference_engine/ie_api.so in package openvino-inference-engine-python3 contains reference to TMPDIR [buildpaths]
| File /usr/src/debug/openvino-inference-engine/2022.1-r0/build/src/plugins/intel_cpu/cross-compiled/proposal_imp_disp.cpp in package openvino-inference-engine-src contains reference to TMPDIR

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-07-28 18:57:44 +08:00
Naveen Saini
df622318d8 openvino-inference-engine: change branch name master -> main
Upstream json-schema-validator has made 'main' as default branch.

https://github.com/pboettch/json-schema-validator.git

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-06-07 15:34:52 +08:00
Anuj Mittal
f2534c5515 open-model-zoo: upgrade 2021.4.2 -> 2022.1
The project now is able to locate the required package and libraries
correctly so no need to pass flags to cmake.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-04-13 14:08:21 +08:00
Anuj Mittal
ac72b03ce5 openvino-inference-engine: upgrade 2021.4.2 -> 2022.1
Refresh patches, update dependencies and licenses for the new
components.

Release notes:
https://github.com/openvinotoolkit/openvino/releases/tag/2022.1.0

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-04-13 14:08:21 +08:00
Davide Gardenal
19c30d277a open-model-zoo: add COMPATIBLE_HOST to fix build error
Add COMPTIBLE_HOST to fix a build error when using musl,
due to openvino-inference-engine dependency

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-04-05 15:59:12 +08:00
Anuj Mittal
4206f6f5cd open-model-zoo: remove test-generator from DEPENDS
This is no longer listed as a requirement.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-03-07 13:44:29 +08:00
Anuj Mittal
1d9e805c4b openvino-inference-engine: fix upstream check
Match only the release versions and not the ones like 11102021.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-24 22:34:33 +08:00
Anuj Mittal
baa68831ed open-model-zoo: upgrade 2021.4.1 -> 2021.4.2
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-19 11:56:08 +08:00
Anuj Mittal
1354a0bfe2 openvino-inference-engine: upgrade 2021.4.1 -> 2021.4.2
Release notes for 2021.4 release are at:
https://www.intel.com/content/www/us/en/developer/articles/release-notes/openvino-2021-4-lts-relnotes.html

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-19 11:56:08 +08:00
Anuj Mittal
e4d0c52cba meta: add explicit branch and protocol to SRC_URI
Add branch name explicitly to SRC_URI where it's not defined and switch
to using https protocol for Github projects.

The change was made using convert_srcuri script for OE-Core.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-03 12:35:28 +08:00
Anuj Mittal
1acca2a119 open-model-zoo: upgrade 2021.4 -> 2021.4.1
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-10-11 23:29:40 +08:00
Anuj Mittal
9c7d9ae240 openvino-inference-engine: upgrade 2021.4 -> 2021.4.1
Release notes:
https://software.intel.com/content/www/us/en/develop/articles/openvino-2021-4-lts-relnotes.html

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-10-11 23:29:40 +08:00
Naveen Saini
bfc685697d open-model-zoo: upgrade 2021.3 -> 2021.4
https://github.com/openvinotoolkit/open_model_zoo/releases/tag/2021.4

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-09-01 10:16:19 +08:00