From ce14a29c5f6311307e3eab7078fb692ae81cde08 Mon Sep 17 00:00:00 2001 From: Vijeetkumar Benni Date: Tue, 21 May 2024 20:42:20 +0530 Subject: [PATCH] Update OpenVINO libs and include path Signed-Off-by: Vijeetkumar Benni --- BUILD.gn | 14 +++++++------- IENetwork.cpp | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index c2ebe87c8..26fd4c91d 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -47,12 +47,12 @@ config("target_defaults") { "${sysroot}/usr/include/aosp/hardware/interfaces/neuralnetworks/1.0/utils/include", "${sysroot}/usr/include/aosp/hardware/interfaces/neuralnetworks/1.3/utils/include/", "${sysroot}/usr/include/aosp/hardware/interfaces/neuralnetworks/utils/common/include", - "${sysroot}/usr/local/include/ie", - "${sysroot}/usr/local/include/ie/cpp", - "${sysroot}/usr/local/include/openvino", - "${sysroot}/usr/local/runtime/include/ie", - "${sysroot}/usr/local/runtime/include/ie/cpp", - "${sysroot}/usr/local/runtime/include/" + "${sysroot}/usr/include/ie", + "${sysroot}/usr/include/ie/cpp", + "${sysroot}/usr/include/openvino", + "${sysroot}/usr/include/ie", + "${sysroot}/usr/include/ie/cpp", + "${sysroot}/usr/include/" ] } @@ -193,7 +193,7 @@ shared_library("intel_nnhal") { lib_dirs = [ "${sysroot}/usr/local/deployment_tools/inference_engine/lib/intel64/", "${sysroot}/usr/local/deployment_tools/ngraph/lib64/", - "${sysroot}/usr/local/lib64/", + "${sysroot}/usr/lib64/", "${sysroot}/usr/local/runtime/lib/intel64/" ] } diff --git a/IENetwork.cpp b/IENetwork.cpp index 68c8e11c8..8895f8b3e 100644 --- a/IENetwork.cpp +++ b/IENetwork.cpp @@ -19,7 +19,7 @@ bool IENetwork::loadNetwork() { #if __ANDROID__ ov::Core ie(std::string("/vendor/etc/openvino/plugins.xml")); #else - ov::Core ie(std::string("/usr/local/lib64/plugins.xml")); + ov::Core ie(std::string("/usr/lib64/plugins.xml")); #endif std::map config; std::string deviceStr;