diff options
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo_2020.4.bb')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo_2020.4.bb | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo_2020.4.bb b/dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo_2020.4.bb deleted file mode 100644 index ef0d7e92..00000000 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo_2020.4.bb +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | SUMMARY = "OpenVINO(TM) Toolkit - Open Model Zoo repository" | ||
2 | HOMEPAGE = "https://github.com/opencv/open_model_zoo" | ||
3 | DESCRIPTION = "This repository includes optimized deep learning \ | ||
4 | models and a set of demos to expedite development of high-performance \ | ||
5 | deep learning inference applications." | ||
6 | |||
7 | SRC_URI = "git://github.com/opencv/open_model_zoo.git;protocol=git;branch=master \ | ||
8 | file://0001-use-oe-gflags.patch \ | ||
9 | " | ||
10 | |||
11 | SRCREV = "366130da8fc27dd4d896639cb526a079acc07831" | ||
12 | |||
13 | LICENSE = "Apache-2.0" | ||
14 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \ | ||
15 | " | ||
16 | |||
17 | inherit cmake | ||
18 | |||
19 | S = "${WORKDIR}/git/demos" | ||
20 | |||
21 | DEPENDS += "openvino-inference-engine opencv gflags" | ||
22 | |||
23 | RDEPENDS_${PN} += " \ | ||
24 | python3-decorator \ | ||
25 | python3-defusedxml \ | ||
26 | python3-networkx \ | ||
27 | python3-protobuf \ | ||
28 | python3-test-generator \ | ||
29 | python3-requests \ | ||
30 | python3-pyyaml \ | ||
31 | " | ||
32 | |||
33 | COMPATIBLE_HOST = '(x86_64).*-linux' | ||
34 | |||
35 | EXTRA_OECMAKE += " \ | ||
36 | -DIE_MAIN_SOURCE_DIR=${B} \ | ||
37 | -DENABLE_SAMPLES=ON \ | ||
38 | -DIE_INCLUDE_DIR=${STAGING_EXECPREFIXDIR} \ | ||
39 | -DIE_RELEASE_LIBRARY=${STAGING_LIBDIR}/libinference_engine.so \ | ||
40 | -DIE_C_API_RELEASE_LIBRARY=${STAGING_LIBDIR}/libinference_engine_c_api.so \ | ||
41 | -DIE_LEGACY_RELEASE_LIBRARY=${STAGING_LIBDIR}/libinference_engine_legacy.so \ | ||
42 | -DIE_NN_BUILDER_RELEASE_LIBRARY=${STAGING_LIBDIR}/libinference_engine_nn_builder.so \ | ||
43 | -DIE_ROOT_DIR=${WORKDIR}/InferenceEngine \ | ||
44 | " | ||
45 | |||
46 | do_configure_prepend(){ | ||
47 | mkdir -p ${WORKDIR}/InferenceEngine/share | ||
48 | cp ${STAGING_LIBDIR}/cmake/InferenceEngine/* ${WORKDIR}/InferenceEngine/share/ | ||
49 | } | ||
50 | |||
51 | do_install(){ | ||
52 | install -d ${D}${libdir} | ||
53 | install -d ${D}${bindir} | ||
54 | install -d ${D}${datadir}/openvino/open-model-zoo/tools | ||
55 | install -d ${D}${datadir}/openvino/open-model-zoo/demos/python_demos | ||
56 | cp -rf ${WORKDIR}/build/intel64/Release/lib/*.a ${D}${libdir} | ||
57 | cp -rf ${WORKDIR}/build/intel64/Release/*_demo* ${D}${bindir} | ||
58 | cp -rf ${WORKDIR}/git/models ${D}${datadir}/openvino/open-model-zoo | ||
59 | cp -rf ${WORKDIR}/git/tools/downloader ${D}${datadir}/openvino/open-model-zoo/tools | ||
60 | cp -rf ${WORKDIR}/git/demos/python_demos ${D}${datadir}/openvino/open-model-zoo/demos | ||
61 | } | ||
62 | |||
63 | FILES_${PN} += "${datadir}/openvino" | ||