Commit Graph

61 Commits

Author SHA1 Message Date
Chee Yang Lee
108c6938a9 virtualization: include virtualization feature in linux-intel 4.19 kernel
as virtualization layer allow to added kernel feature to certain
kernel version, kernel 4.19 is not included, see :
https://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?id=f2f36a8061c600b35b5f0ce1599d59f1d144a3aa

add bbappend to linux-intel 4.19 kernel to include necessary
virtualization config when virtualizaton layer is included.

[YOCTO #13727]

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-03-03 15:18:52 +08:00
Anuj Mittal
9796a61261 dldt-inference-engine: use libdir when installing python modules
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-25 15:03:03 +08:00
Naveen Saini
658366aa13 intel-compute-runtime: upgrade 19.44.14658 -> 20.04.15428
For more details:
https://github.com/intel/compute-runtime/releases/tag/20.04.15428

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-11 14:32:30 +08:00
Naveen Saini
f8771831bb intel-graphics-compiler: upgrade 1.0.2714.1 -> 1.0.3151
Dropped the patch which is already upstream.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-11 14:32:30 +08:00
Naveen Saini
0b6fd29c9f llvm-project-source: drop patch
Patch is already carried by meta-clang layer.
ab686950af

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-11 14:32:30 +08:00
Alexander Usyskin
d9f0f9975d lms: upgrade 1932.0.0.0 -> 2003.0.0.0
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-03 11:06:25 +08:00
Anuj Mittal
369d0a0dc3 dldt-inference-engine: fix DEPENDS
Fix the dependency to be added when ptests are not enabled. Fixes:

| ERROR: Nothing PROVIDES '0' (but /meta-intel/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r3.1.bb DEPENDS on or otherwise requires it)
| ERROR: Required build target 'dldt-inference-engine' has no buildable providers.
| Missing or unbuildable dependency chain was: ['dldt-inference-engine', '0']

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-01-30 15:05:38 +08:00
Naveen Saini
92468819c3 intel-compute-runtime: upgrade 19.35.13977 -> 19.44.14658
Release notes can be found here:
https://github.com/intel/compute-runtime/releases/tag/19.44.14658

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-12-27 10:01:59 +08:00
Naveen Saini
6dd594fba5 intel-graphics-compiler: upgrade 1.0.11 -> 1.0.2714.1
Dropped patch which is already merged in this release.

More details can be found at:
https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.2714.1

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-12-27 10:01:59 +08:00
Naveen Saini
fafa2218c4 opencl-clang: update to link against SPIR-V LLVM Translator v9.0.0-1
https://github.com/intel/opencl-clang/releases/tag/v9.0.0

Recommended for latest intel-compute-runtime v19.44.14658
https://github.com/intel/compute-runtime/releases/tag/19.44.14658

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-12-27 10:01:59 +08:00
Naveen Saini
c85df639f4 llvm-project-source: update SPIRV-LLVM-Translator 9.0.0 -> v9.0.0-1
Release notes can be found here:
https://github.com/KhronosGroup/SPIRV-LLVM-Translator/releases/tag/v9.0.0-1

Recommended for latest intel-compute-runtime v19.44.14658
https://github.com/intel/compute-runtime/releases/tag/19.44.14658

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-12-27 10:01:59 +08:00
Naveen Saini
10bf5c7622 librealsense: fix upstream release checking
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-12-11 13:47:57 +08:00
Naveen Saini
afefffd213 clang: drop bbappend
LIBCPLUSPLUS is now set to use GNU libstdc++ by default. A new variable
RUNTIME can be used to change this behaviour.

6895c79e05

Remove this bbappend as it is not required any more.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-11-20 20:01:44 +08:00
Ross Burton
c5b7c5baf7 vino: set CVE_PRODUCT
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-11-13 06:02:59 +08:00
Anuj Mittal
19153cb549 dldt-inference-engine: install custom opencl kernels as well
Install the OpenCL kernels and cldnn_global_custom_kernels.xml to allow
specification of OpenCL kernels for custom layers.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-11-12 09:30:39 +08:00
Ankit Navik
cd63bab428 librealsense: Initial recipe for Intel Real Sense SDK
It adds generic recipe for Intel Real Sense SDK.

Signed-off-by: Ankit Navik <ankit.tarot@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-11-01 11:34:47 +08:00
Chin Huat Ang
09ba2ea7d2 dldt-model-optimizer: upgrade 2019r3 -> 2019r3.1
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-11-01 11:34:29 +08:00
Chin Huat Ang
2b4876dbab dldt-inference-engine: upgrade 2019r3 -> 2019r3.1
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-11-01 11:34:08 +08:00
Anuj Mittal
570be75f9a dldt-inference-engine: enable vpu by default
* Make sure that USB udev rules for Intel(R) Movidius(TM) Neural Compute
Stick and Intel(R) Neural Compute Stick 2 are packaged.

* Package vpu firmware only when it is enabled.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-30 12:17:42 +08:00
Anuj Mittal
eacd8eb9f7 dldt-model-optimizer: upgrade 2019r2 -> 2019r3
For changes in this release, see:
https://software.intel.com/en-us/articles/OpenVINO-RelNotes

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-25 10:06:32 +08:00
Martin Jansa
93105b15d1 dldt-inference-engine: remove trailing slash from patchdir params
* There is interesting issue in do_patch, I was debugging strange
  behavior with .bbappend where I've added another small patch.
  And it started failing to configure completely.
  bitbake -e shows that all .patch files are in SRC_URI and
  log.do_patch shows that all were applied, but git diff (as well as
  patches/series) shows only the last one added from the bbappend
  to be applied.

  This was caused by 8 existing patches in .bb file using ;patchdir=../
  and my patch in .bbappend using ;patchdir=.. without slash at the end,
  it should be fixed in quilt (or how do_patch is using it), but for
  now just drop the trailing slash, because 99.9% recipes use ;patchdir=..
  without the slash.

  It's easily reproducible by removing the slash from the last patch
  (without any bbappend).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-25 10:05:24 +08:00
Martin Jansa
1a669124ec dldt-inference-engine: use firmware files from SRC_URI
* use the files from SRC_URI instead of fetching them during
  configure
* use the firmware files CMake would download during configure
  when not provided already, I haven't found any changelog to
  find out what's the difference between
  firmware_ma2x8x_784.zip   firmware_ma2x8x_mdk_R9.8.zip
  firmware_ma2450_759W.zip  firmware_ma2450_784.zip
  firmware_mv0262_784.zip   firmware_mv0262_mdk_R9.8.zip
  so to be safe use whatever CMake does and what I was testing
  on raspberrypi4 before (because of missing this fix).

  -- Downloading from https://download.01.org/opencv/2019/openvinotoolkit/R3/inference_engine/firmware_ma2450_759W.zip to dldt-inference-engine/2019r3-r0/git/inference-engine/temp/download/firmware_ma2450_759W.zip ...
  -- Downloading from https://download.01.org/opencv/2019/openvinotoolkit/R3/inference_engine/firmware_ma2x8x_mdk_R9.8.zip to dldt-inference-engine/2019r3-r0/git/inference-engine/temp/download/firmware_ma2x8x_mdk_R9.8.zip ...
  -- Downloading from https://download.01.org/opencv/2019/openvinotoolkit/R3/inference_engine/firmware_mv0262_mdk_R9.8.zip to dldt-inference-engine/2019r3-r0/git/inference-engine/temp/download/firmware_mv0262_mdk_R9.8.zip ...

* add PACKAGECONFIG verbose for VERBOSE_BUILD so it's easier
  to debug which firmware files are being used, in this case:
  log.do_configure will show:
  -- ma2450=../mvnc/MvNCAPI-ma2450.mvcmd
  -- ma2x8x=../mvnc/MvNCAPI-ma2x8x.mvcmd
  -- mv0262=../mvnc/MvNCAPI-mv0262.mvcmd

* the patch is very loosely based on the patch removed here:
  http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/diff/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0003-Supply-firmware-at-build-time.patch?id=649456856dc38086e7d43d740d68198e3395b067
  but I've reworked it competely to simplify this mess :)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-25 10:05:14 +08:00
Martin Jansa
c66d483772 dldt-inference-engine: Add ISSL license for the firmware files
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-25 10:04:52 +08:00
Martin Jansa
147101da18 dldt-inference-engine: return support for VPU
* add PACKAGECONFIG for vpu
* add extra package for firmware files
* tested on rpi4 with NCS2

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-25 09:14:03 +08:00
Martin Jansa
fd9d57a992 dldt-inference-engine: install extension headers in includedir instead of share/doc
* otherwise components depending on them won't be able to find them

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-24 12:07:30 +08:00
Martin Jansa
8c7406bfdc dldt-inference-engine: add SSTATE_SCAN_FILES to fix CMake files
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-24 12:07:30 +08:00
Anuj Mittal
5cbdb5e277 clang: apply LIBCPLUSPLUS setting only for meta-intel machines
This shouldn't be forced upon users including the layer without using the
machine value from meta-intel.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-22 12:19:50 +08:00
Chin Huat Ang
4684c50cb9 dldt-inference-engine: build clDNN against opencl-icd-loader
Instead of letting clDNN build against intel_ocl_icd prebuilt binaries
under clDNN/common/intel_ocl_icd, configure cmake build to pick up
opencl-icd-loader headers and libraries from staging directory.

Do not set CMAKE_INSTALL_LOCAL_ONLY as it is unused.

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-21 15:05:46 +08:00
Chin Huat Ang
649456856d dldt-inference-engine: update 2019r2 -> 2019r3
Refresh patches so that they apply cleanly on 2019r3.

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-21 07:20:21 +08:00
Chin Huat Ang
b128d14ff6 dldt-inference-engine: disable VPU plugins
VPU plugins are untested, temporarily disable them.

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-21 07:20:21 +08:00
Chin Huat Ang
5c652766e1 dldt-inference-engine: remove DEPENDS mkl-dnn
Inference engine is still downloading and building it's own copy of
mkl-dnn, so remove it from DEPENDS.

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-21 07:20:21 +08:00
Chin Huat Ang
eff93c1db6 dldt-inference-engine: fix ptest failures
Package libmock_engine.so as part of dldt-inference-engine-ptest and
update run-ptest to set LD_LIBRARY_PATH to fix the following
InferenceEngineUnitTests failures:

  FAIL: 12 tests, listed below:
  FAIL: PluginTest.canCreatePlugin
  FAIL: PluginTest.canCreatePluginUsingSmartPtr
  FAIL: PluginTest.shouldThrowExceptionIfPluginNotExist
  FAIL: PluginTest.canCallErrorHandlerIfNecessary
  FAIL: PluginTest.canForwardPluginEnginePtr
  FAIL: PluginTest.canSetConfiguration
  FAIL: PluginDispatcherTests.canLoadMockPlugin
  FAIL: PluginDispatcherTests.returnsIfLoadSuccessfull
  FAIL: SharedObjectLoaderTests.canLoadExistedPlugin
  FAIL: SharedObjectLoaderTests.canFindExistedMethod
  FAIL: SharedObjectLoaderTests.throwIfMethodNofFoundInLibrary
  FAIL: SharedObjectLoaderTests.canCallExistedMethod

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-21 07:19:43 +08:00
Naveen Saini
00c4176e02 intel-compute-runtime: use default TOOLCHAIN
LLD linker is no longer the default for clang-native, so
we can build binaries linking to clang-native using GNU ld.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-21 07:18:55 +08:00
Naveen Saini
b2d2bdd8f1 intel-graphics-compiler: use default TOOLCHAIN
LLD linker is no longer the default for clang-native, so
we can build binaries linking to clang-native using GNU ld.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-21 07:18:55 +08:00
Naveen Saini
15f69ba282 opencl-clang: use default TOOLCHAIN
LLD linker is no longer the default for clang-native, so
we can build binaries linking to clang-native using GNU ld.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-21 07:18:55 +08:00
Khem Raj
1e5115528f lms: Do not build on musl
It depends on ace which is marked as incompatible for musl as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-10 12:16:16 +08:00
Chin Huat Ang
ef18ef563b dldt-inference-engine: add PACKAGECONFIG for python API
Add PACKAGECONFIG[python3] for building dldt-inference-engine-python3
package which contains the inference engine python API.

Also tweak recipe to inherit python3native instead of relying on host
python as building the python API requires python3-cython which might
not be available on the host.

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-10 12:16:10 +08:00
Naveen Saini
fdcecbf1ad clang: clean up
No need to set LLVM_TARGETS_TO_BUILD here as it
is set by meta-clang layer.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-09 11:32:25 +08:00
Chin Huat Ang
611a831306 dldt-inference-engine: fix clDNN install directory
Install clDNN to /usr/lib to resolve the following inference engine
error when running with GPU plugin:

    [ ERROR ] Failed to create plugin libclDNNPlugin.so for device GPU
    Please, check your environment
    Cannot load library 'libclDNNPlugin.so': libclDNNPlugin.so: cannot open
    shared object file: No such file or directory
    /usr/src/debug/dldt-inference-engine/2019r2-r0/git/inference-engine/include/details/os/lin_shared_object_loader.h:36

    /usr/src/debug/dldt-inference-engine/2019r2-r0/git/inference-engine/src/inference_engine/ie_core.cpp:277

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-30 22:28:09 +08:00
Anuj Mittal
90b225ce8a dldt-inference-engine: upgrade 2019r1.1 -> 2019r2
* Release notes:
https://software.intel.com/en-us/articles/OpenVINO-RelNotes

* Enable unit tests to be built and tested using ptest mechanism.

* Include patches from Clear Linux for build fixes.

* Switch to using python3 and threading to using TBB. Switch ENABLE_OPENCV
to off so opencv from system is used.

* Remove do_install and patch Makefiles instead to install libraries correctly.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-30 15:34:44 +08:00
Chin Huat Ang
096598691d dldt-inference-engine: add recipe
This recipe builds the inference engine from opencv/dldt 2019 R1.1
release.

OpenVINO™ toolkit, short for Open Visual Inference and Neural network
Optimization toolkit, provides developers with improved neural network
performance on a variety of Intel® processors and helps further unlock
cost-effective, real-time vision applications.

The toolkit enables deep learning inference and easy heterogeneous
execution across multiple Intel® platforms (CPU, Intel® Processor Graphics)—providing
implementations across cloud architectures to edge device.

For more details, see:
https://01.org/openvinotoolkit

The recipe needs components from meta-oe so move it to
dynamic-layers/openembedded-layer. GPU plugin support needs intel-compute-runtime
which can be built by including clang layer in the mix as well.

CPU and GPU plugins have been sanity tested to work using
classification_sample. Further fine-tuning is still needed to improve
the performance.

Original patch by Anuj Mittal.

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-28 17:18:30 +08:00
Anuj Mittal
7aef51c962 dldt-model-optimizer: add recipe
Model Optimizer is a cross-platform command-line tool that facilitates
the transition between the training and deployment environment,
performs static model analysis, and adjusts deep learning models for
optimal execution on end-point target devices.

For more details, see:

https://software.intel.com/en-us/openvino-toolkit/deep-learning-cv

Since the recipe requires bits from meta-python, move this to the
dynamic layers section and add meta-python to BBFILES_DYNAMIC.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-24 10:24:42 +08:00
Anuj Mittal
655dfaec95 compute-runtime: update UPSTREAM_CHECK_GITTAGREGEX
We'd like to ignore the older tags using year and work week strings like
2018ww19-010806 and use only the ones that have numbers and are in
x.y.z format.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-19 06:24:35 +08:00
Anuj Mittal
2b928a42ff clang: remove do_install append
There is no need to invoke the cmake target explicitly now to have cmake
files installed. Remove the append to do_install doing that.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-19 06:24:35 +08:00
Anuj Mittal
b13d766b0c clang: remove COMPATIBLE_HOST
clang builds fine for 32-bit targets too now. Remove COMPATIBLE_HOST.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-19 06:24:35 +08:00
Naveen Saini
e9957d290e intel-compute-runtime: upgrade 19.21.13045 -> 19.35.13977
Release notes can be found here:
https://github.com/intel/compute-runtime/releases/tag/19.35.13977

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-13 16:17:22 +08:00
Naveen Saini
b9b473a259 intel-graphics-compiler: upgrade 1.0.6 -> 1.0.11
Removed patches which are not required anymore.
Updated python version to 3.

In this release, fixed issue/improvements can be
found here:
https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.11

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-13 16:17:22 +08:00
Naveen Saini
9a9d8cb234 opencl-clang: upgrade 8.0.1 -> 9.0.0
With this upgrade, by default -DPREFERRED_LLVM_VERSION="9.0.0" is set.

Changes can be check here:
https://github.com/intel/opencl-clang

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-13 16:17:22 +08:00
Naveen Saini
1b076fd8db llvm-project-source: update SPIRV-LLVM-Translator 8.0.0 -> 9.0.0
Remove all the backported patches which are available in 9.0.0 release.

Few patches were recommended from llvm-patches repo:
https://github.com/intel/intel-graphics-compiler/blob/master/documentation/build_ubuntu.md
3906cc086f

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-13 16:17:22 +08:00
Anuj Mittal
f627454ab9 intel-graphics-compiler: add opencl-clang to RDEPENDS
igc dlopens common clang library so make sure it's added to RDEPENDS.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-30 10:55:55 +08:00