Closed alimt1992 closed 1 year ago
OpenVino 2023 released a Linux distribution package at https://docs.openvino.ai/2023.0/openvino_docs_install_guides_installing_openvino_from_archive_linux.html With this release user can install & setup OpenVino environment by running a script “source /opt/intel/openvino_2023/setupvars.sh”, the library and include path also can be exported by openvino.pc file.
automake can use pkg-config tool to get OpenVino path: $ pkg-config --cflags openvino -DTBB_PREVIEW_WAITING_FOR_WORKERS=1 -DIE_THREAD=IE_THREAD_TBB -DOV_THREAD=OV_THREAD_TBB -I/opt/intel/openvino_2023.0.1/runtime/lib/intel64/pkgconfig/../../../..//runtime/include/ie -I/opt/intel/openvino_2023.0.1/runtime/lib/intel64/pkgconfig/../../../..//runtime/include
$ pkg-config --libs openvino -L/opt/intel/openvino_2023.0.1/runtime/lib/intel64/pkgconfig/../../../..//runtime/lib/intel64 -lopenvino_onnx_frontend -lopenvino_paddle_frontend -lopenvino_pytorch_frontend -lopenvino_tensorflow_frontend -lopenvino_tensorflow_lite_frontend -lopenvino_c -lopenvino -ltbb -lpugixml
I think we can remove the compiling flags “OPENVINO_IE_LIBS_PATH” & “OPENVINO_IE_INC_PATH”.
OpenVino 2023 released a Linux distribution package at https://docs.openvino.ai/2023.0/openvino_docs_install_guides_installing_openvino_from_archive_linux.html With this release user can install & setup OpenVino environment by running a script “source /opt/intel/openvino_2023/setupvars.sh”, the library and include path also can be exported by openvino.pc file.
automake can use pkg-config tool to get OpenVino path: $ pkg-config --cflags openvino -DTBB_PREVIEW_WAITING_FOR_WORKERS=1 -DIE_THREAD=IE_THREAD_TBB -DOV_THREAD=OV_THREAD_TBB -I/opt/intel/openvino_2023.0.1/runtime/lib/intel64/pkgconfig/../../../..//runtime/include/ie -I/opt/intel/openvino_2023.0.1/runtime/lib/intel64/pkgconfig/../../../..//runtime/include
$ pkg-config --libs openvino -L/opt/intel/openvino_2023.0.1/runtime/lib/intel64/pkgconfig/../../../..//runtime/lib/intel64 -lopenvino_onnx_frontend -lopenvino_paddle_frontend -lopenvino_pytorch_frontend -lopenvino_tensorflow_frontend -lopenvino_tensorflow_lite_frontend -lopenvino_c -lopenvino -ltbb -lpugixml
I think we can remove the compiling flags “OPENVINO_IE_LIBS_PATH” & “OPENVINO_IE_INC_PATH”.
changed dnn module Makefile.am accordingly. In order to access format_reader include and libs, an environment variable, "OPENVINO_EXTRAS_PATH" has been added.
dnn: update dnn module to openvino version 2023/0