Commit Graph

87 Commits

Author SHA1 Message Date
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
Yogesh Tyagi
1a5937527b ipmctl : upgrade 03.00.00.0462 -> 03.00.00.0468
Release Notes:
ipmctl:
https://github.com/intel/ipmctl/releases/tag/v03.00.00.0468
edk2:
https://github.com/tianocore/edk2/releases/tag/edk2-stable202208

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-09-29 18:06:48 +08:00
Yogesh Tyagi
c12abbd33f ipmctl : upgrade 03.00.00.0439 -> 03.00.00.0462
Release notes:
https://github.com/intel/ipmctl/releases/tag/v03.00.00.0462

Drops upstreamed patch:
* 227d9cb35658fe104ff6fde62e4a00e6d595df0d.patch

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-09-05 17:05:57 +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
f21168e628 ipmctl: fix build issues with 5.18+ headers
OE-core has updated kernel headers to 5.19 and that is resulting in
failures:

| /build/cje/workspace/poky/build/tmp/work/corei7-64-poky-linux/ipmctl/03.00.00.0439-r0/git/src/os/linux/lnx_system.c:336:52: error: 'ND_DEVICE_NAMESPACE_BLK' undeclared (first use in this function); did you mean 'ND_DEVICE_NAMESPACE_IO'?
|   336 |                                         (nstype == ND_DEVICE_NAMESPACE_BLK))
|       |                                                    ^~~~~~~~~~~~~~~~~~~~~~~
|       |                                                    ND_DEVICE_NAMESPACE_IO
| compilation terminated due to -Wfatal-errors.

For more details:

https://github.com/intel/ipmctl/pull/194/

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-08-10 14:02:14 +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
Yogesh Tyagi
32d8fda81a ipmctl : upgrade 03.00.00.0438 -> 03.00.00.0439
Release Notes:
https://github.com/intel/ipmctl/releases/tag/v03.00.00.0439

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-07-21 10:09:27 +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
45a43b1b8c ipmctl: fix build with gcc12
Ignore warnings generated with gcc12 for now.

    | /ipmctl/03.00.00.0438-r0/git/DcpmPkg/cli/NvmDimmCli.c: In function 'showHelp':
    | /ipmctl/03.00.00.0438-r0/git/DcpmPkg/cli/NvmDimmCli.c:1031:24: error: the comparison will always evaluate as 'true' for the address of 'options' will never be NULL [-Werror=address]
    | 1031 | (pCmd->options != NULL)) {
    | | ^~
    | compilation terminated due to -Wfatal-errors.
    | cc1: all warnings being treated as errors

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-05-18 12:59:40 +08:00
Naveen Saini
2ec3b9e908 ipmctl: upgrade 03.00.00.0432 -> 03.00.00.0438
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-05-06 18:57:54 +08:00
Naveen Saini
316d40ce88 ipmctl: upgrade 03.00.00.0429 -> 03.00.00.0432
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-04-15 17:39:46 +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
Ezhilarasan
efaeab8155 ipmctl: upgrade 03.00.00.0427 -> 03.00.00.0429
Signed-off-by: Ezhilarasan <ezhilarasanx.s@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-03-02 23:01:55 +08:00
ezhilarasan s
0975ec0261 ipmctl: upgrade 03.00.00.0387 -> 03.00.00.0427
Signed-off-by: ezhilarasan s <ezhilarasanx.s@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-02-12 00:37:48 +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
99fd5cb683 ipmctl: dont install /var/log/ipmctl
OE-Core now has a QA check to see if /var/log is empty. Since
/var/log is usually a symlink to /var/volatile/log, anything
installed here won't actually be available.

Remove the directory.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-05 23:49:29 +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
6c7c0905a8 ipmctl: add DEPENDS on pkgconfig-native
Since oe-core commit 8e26252b45b (layer.conf: Extend recipes not to
install without explict dependencies), some dependencies now need to be
explicit.

ipmctl needs pkgconfig-native so add it to DEPENDS.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-10-12 23:05:03 +08:00
Anuj Mittal
a904c13e7e ipmctl: upgrade 03.00.00.0369 -> 03.00.00.0387
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-10-12 00:40:55 +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
Naveen Saini
a9c7df9131 ipmctl: upgrade 03.00.00.0341 -> v03.00.00.0369
https://github.com/intel/ipmctl/releases/tag/v03.00.00.0369

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
Anuj Mittal
011b2d6c19 openvino-inference-engine: upgrade 2021.3 -> 2021.4
Refresh patches and add zlib to DEPENDS. Also fetch pybind11 as it's
needed by ngraph.

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-08-27 09:55:39 +08:00
Anuj Mittal
0584f63879 Convert to new override syntax
Use the convert-overrides.py to convert to new syntax and manually
fix some additional changes.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-07-31 17:47:03 +08:00
Anuj Mittal
0c37f3522f openvino-inference-engine: fix inference engine cmake config
When included in a project using find_package, it goes and looks for
headers and cmake module at an incorrect path.

Make sure that we are able to locate the headers and cmake module file.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-07-21 00:06:57 +08:00
Changqing Li
eac2b08341 openvino-inference-engine: disable opencl
Temporarily disable opencl since intel-graphics-compiler and vc-intrinsics
compile failed since some api of llvm changed.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-06-25 13:43:44 +08:00
LiweiSong
89f1ef2e49 openvino-inference-engine/openvino-model-optimizer: update to the latest version
Update openvino to the latest one c5f7ad383e65 ("Fix
license header in Movidius sources") since it is include
a important license change from Intel private License to
Apache2.0 which is allowed external user to disclose it
without limit.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-06-08 23:41:47 +08:00
Naveen Saini
25798b2cc8 ipmctl: upgrade 03.00.00.0302 -> 03.00.00.0341
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-05-21 23:20:13 +08:00
Anuj Mittal
e4f4b5b3d0 openvino-inference-engine: fix build with gcc11
Include the header explicitly to avoid failures:

| inference-engine/src/plugin_api/ie_system_conf.h:21:31: error: 'exception_ptr' in namespace 'std' does not name a type; did you mean 'exception'?
|    21 | INFERENCE_ENGINE_API_CPP(std::exception_ptr&) CurrentException();
|      |                               ^~~~~~~~~~~~~

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-05-07 15:59:02 +08:00
Anuj Mittal
610cdb495c openvino-inference-engine: upgrade 2021.2 -> 2021.3
Release notes:
https://github.com/openvinotoolkit/openvino/releases/tag/2021.3

Remove a patch that isn't needed anymore and refresh the rest. Remove
dependency on onednn as it's using a forked version.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-22 14:42:35 +08:00
Anuj Mittal
9766d5c4e2 open-model-zoo: upgrade 2021.2 -> 2021.3
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-22 14:42:29 +08:00
Robi Buranyi
d847f56b4a ipmctl: support CRLF line endings in EDK2
The EDK2 sources are DOS-style on server (contains CRLF) and this may
cause interop issues on Linux machines (patches do not apply clean) The
standard solution is to use the "dos2unix" bbclass, but that can modify
only files under the ${S} folder - meaning we have to move the edk2
checkout folder from ${S}/../edk2 to ${S}/edk2. Also, the LICENSE file
checksum is going to be impacted by the dos2unix conversion.

Signed-off-by: Robi Buranyi <rburanyi@google.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-13 14:38:54 +08:00
Naveen Saini
f5cbba628b ipmctl: upgrade 02.00.00.3869 -> 03.00.00.0302
Ref:
https://github.com/intel/ipmctl/releases/tag/v03.00.00.0302

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-06 10:09:02 +08:00
Naveen Saini
fa5566a9fd ipmctl: add recipe
ipmctl is a utility for configuring and managing Intel® Optane™ Persistent Memory modules (PMem).

It supports functionality to:

* Discover PMems on the platform.
* Provision the platform memory configuration.
* View and update the firmware on PMems.
* Configure data-at-rest security on PMems.
* Track health and performance of PMems.
* Debug and troubleshoot PMems.
* ipmctl refers to the following interface components:

libipmctl: An Application Programming Interface (API) library for managing PMems.
ipmctl: A Command Line Interface (CLI) application for configuring and managing PMems from the command line.

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