From 90b225ce8a00aafd94d0aef5f85e73adce91d5f2 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Fri, 27 Sep 2019 22:55:27 +0800 Subject: 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 --- .../opencv/dldt-inference-engine_2019r1.1.bb | 75 ---------------------- 1 file changed, 75 deletions(-) delete mode 100644 dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r1.1.bb (limited to 'dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r1.1.bb') diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r1.1.bb b/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r1.1.bb deleted file mode 100644 index 7010811e..00000000 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r1.1.bb +++ /dev/null @@ -1,75 +0,0 @@ -SUMMARY = "OpenVINO(TM) Toolkit - Deep Learning Deployment Toolkit" -HOMEPAGE = "https://github.com/opencv/dldt" -DESCRIPTION = "This toolkit allows developers to deploy pre-trained \ -deep learning models through a high-level C++ Inference Engine API \ -integrated with application logic." - -SRC_URI = "git://github.com/opencv/dldt.git;protocol=git;branch=2019 \ - https://download.01.org/opencv/2019/openvinotoolkit/R1/inference_engine/firmware_ma2450_491.zip;name=ma2450 \ - https://download.01.org/opencv/2019/openvinotoolkit/R1/inference_engine/firmware_ma2480_mdk_R7_9.zip;name=ma2480 \ - file://0001-Supply-firmware-at-build-time.patch;patchdir=../ \ - file://0001-use-provided-paths.patch;patchdir=../ \ - file://0001-disable-tests.patch;patchdir=../ \ - file://0001-disable-werror.patch;patchdir=../ \ - file://0001-fix-openmp-checking.patch;patchdir=../ \ - file://0002-use-ade-and-pugixml-from-system.patch;patchdir=../ \ - file://0007-Install-sample-apps-and-format_reader-library.patch;patchdir=../ \ - " -SRCREV = "0ef92871b6dd9a9ceed16d184c4595d2618d526f" - -SRC_URI[ma2450.md5sum] = "2886778e21ff3713b3ac69e3f43a1da8" -SRC_URI[ma2450.sha256sum] = "070c57192fa1d4c17c5b2ebf98ebc35323c5617d1d6ccc454308b33a7476c45b" - -SRC_URI[ma2480.md5sum] = "a65e0ceab3a33bfe6eff58f2291cecec" -SRC_URI[ma2480.sha256sum] = "a8231f4f68a1f8eab99d003a43756a23079699be379b64dacf66ad4912a607b3" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://../LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" - -inherit cmake - -S = "${WORKDIR}/git/inference-engine" - -EXTRA_OECMAKE += " \ - -DVPU_FIRMWARE_MA2450_FILE=../mvnc/MvNCAPI-ma2450.mvcmd \ - -DVPU_FIRMWARE_MA2480_FILE=../mvnc/MvNCAPI-ma2480.mvcmd \ - -DENABLE_INTEL_OMP=0 \ - -DENABLE_OPENCV=1 \ - -DENABLE_SAMPLES_CORE=1 \ - -DENABLE_PLUGIN_RPATH=0 \ - -DENABLE_GNA=0 \ - -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python2 \ - -DTHREADING=OMP \ - -DCMAKE_INSTALL_LOCAL_ONLY=OFF \ - -DCMAKE_BUILD_TYPE=DebugWithRelInfo \ - " - -DEPENDS += "libusb1 ade mkl-dnn opencv pugixml" - -PACKAGECONFIG ?= "" -PACKAGECONFIG[opencl] = "-DENABLE_CLDNN=1, -DENABLE_CLDNN=0, opencl-icd-loader, opencl-icd-loader intel-compute-runtime" - -do_install_append () { - # Workaround cmake build issue where the libraries are not properly - # installed, eventually these should be fixed in inference engine's - # cmake build. - - install ${B}/src/extension/libcpu_extension.so ${D}${libdir} - install ${B}/src/vpu/myriad_plugin/libmyriadPlugin.so ${D}${libdir} - install ${B}/src/inference_engine/libinference_engine.so ${D}${libdir} - install ${B}/src/hetero_plugin/libHeteroPlugin.so ${D}${libdir} - install ${B}/src/mkldnn_plugin/libMKLDNNPlugin.so ${D}${libdir} - - # libclDNNPlugin.so only exists when PACKAGECONFIG intel-compute-runtime - # is set (-DENABLE_CLDNN=1) - if ${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'true', 'false', d)}; then - install ${B}/src/cldnn_engine/libclDNNPlugin.so ${D}${libdir} - fi -} - -# Move inference engine samples into a separate package -PACKAGES =+ "${PN}-samples" - -FILES_${PN}-dev = "${includedir}" -FILES_${PN} += "${libdir}/lib*${SOLIBSDEV}" -FILES_${PN}-samples = "${bindir}" -- cgit v1.2.3-54-g00ecf