From 096598691de246c23902d49d228c7562ba2c9cc5 Mon Sep 17 00:00:00 2001 From: Chin Huat Ang Date: Fri, 27 Sep 2019 06:11:51 +0800 Subject: dldt-inference-engine: add recipe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Anuj Mittal --- .../opencv/files/0001-disable-tests.patch | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-disable-tests.patch (limited to 'dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-disable-tests.patch') diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-disable-tests.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-disable-tests.patch new file mode 100644 index 00000000..af6febde --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-disable-tests.patch @@ -0,0 +1,40 @@ +From 888db5ced39bba933753c7f8b0b0ef4f900578a9 Mon Sep 17 00:00:00 2001 +From: Anuj Mittal +Date: Tue, 27 Aug 2019 08:06:46 +0800 +Subject: [PATCH] disable tests + +Disable tests for now since they build a local copy of gflags etc. + +Upstream-Status: Inappropriate [Configuration] + +Signed-off-by: Anuj Mittal + +--- + inference-engine/CMakeLists.txt | 1 - + inference-engine/samples/CMakeLists.txt | 1 - + 2 files changed, 2 deletions(-) + +diff --git a/inference-engine/CMakeLists.txt b/inference-engine/CMakeLists.txt +index 9e15382..bdf874e 100644 +--- a/inference-engine/CMakeLists.txt ++++ b/inference-engine/CMakeLists.txt +@@ -131,7 +131,6 @@ include(CheckCXXCompilerFlag) + include(cpplint) + + add_subdirectory(src) +-add_subdirectory(tests) + add_subdirectory(thirdparty) + set(InferenceEngine_DIR "${CMAKE_BINARY_DIR}") + +diff --git a/inference-engine/samples/CMakeLists.txt b/inference-engine/samples/CMakeLists.txt +index 4e13c11..a8a9946 100644 +--- a/inference-engine/samples/CMakeLists.txt ++++ b/inference-engine/samples/CMakeLists.txt +@@ -93,7 +93,6 @@ set (GFLAGS_IS_SUBPROJECT TRUE) + set (HAVE_SYS_STAT_H 1) + set (HAVE_INTTYPES_H 1) + +-add_subdirectory(thirdparty/gflags) + + if (${CMAKE_CXX_COMPILER_ID} STREQUAL GNU) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") -- cgit v1.2.3-54-g00ecf