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 --- .../files/0003-Supply-firmware-at-build-time.patch | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 dynamic-layers/openembedded-layer/recipes-support/opencv/files/0003-Supply-firmware-at-build-time.patch (limited to 'dynamic-layers/openembedded-layer/recipes-support/opencv/files/0003-Supply-firmware-at-build-time.patch') diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0003-Supply-firmware-at-build-time.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0003-Supply-firmware-at-build-time.patch new file mode 100644 index 00000000..09107391 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0003-Supply-firmware-at-build-time.patch @@ -0,0 +1,44 @@ +From f4533f5bfce9daee08a4fea61736315fbe4ad6db Mon Sep 17 00:00:00 2001 +From: Anuj Mittal +Date: Fri, 27 Sep 2019 11:34:36 +0800 +Subject: [PATCH] Supply firmware at build time + +We'd like to supply firmware when fetching the sources. Disable runtime +fetching and point to fetched firmware instead. + +Upstream-Status: Submitted + +Signed-off-by: Anuj Mittal +--- + inference-engine/cmake/dependencies.cmake | 18 ------------------ + 1 file changed, 18 deletions(-) + +diff --git a/inference-engine/cmake/dependencies.cmake b/inference-engine/cmake/dependencies.cmake +index d493426..666ace6 100644 +--- a/inference-engine/cmake/dependencies.cmake ++++ b/inference-engine/cmake/dependencies.cmake +@@ -22,24 +22,6 @@ if(COMMAND get_linux_name) + get_linux_name(LINUX_OS_NAME) + endif() + +-if (ENABLE_MYRIAD) +- RESOLVE_DEPENDENCY(VPU_FIRMWARE_MA2450 +- ARCHIVE_UNIFIED firmware_ma2450_676.zip +- TARGET_PATH "${TEMP}/vpu/firmware/ma2450" +- ENVIRONMENT "VPU_FIRMWARE_MA2450" +- FOLDER) +- debug_message(STATUS "ma2450=" ${VPU_FIRMWARE_MA2450}) +-endif () +- +-if (ENABLE_MYRIAD) +- RESOLVE_DEPENDENCY(VPU_FIRMWARE_MA2X8X +- ARCHIVE_UNIFIED firmware_ma2x8x_mdk_R8_9.zip +- TARGET_PATH "${TEMP}/vpu/firmware/ma2x8x" +- ENVIRONMENT "VPU_FIRMWARE_MA2X8X" +- FOLDER) +- debug_message(STATUS "ma2x8x=" ${VPU_FIRMWARE_MA2X8X}) +-endif () +- + ## enable cblas_gemm from OpenBLAS package + if (GEMM STREQUAL "OPENBLAS") + if(NOT BLAS_LIBRARIES OR NOT BLAS_INCLUDE_DIRS) -- cgit v1.2.3-54-g00ecf