Fixed ngraph unit tests in Debug (#6470)

* Added compile_tool to PATH

* Installed benchmark_app

* Fixed ngraph unit tests in Debug

* Install of VPU_FIRMWARE to <root>/tests folder

* Conditional installation of benchmark_app
This commit is contained in:
Ilya Lavrenov
2021-06-30 20:57:01 +03:00
committed by GitHub
parent 6d5e6de895
commit dd2ea02d3a
5 changed files with 23 additions and 1 deletions

View File

@@ -70,6 +70,11 @@ set "OPENVINO_LIB_PATHS=%INTEL_OPENVINO_DIR%\deployment_tools\ngraph\lib;%OPENVI
set "ngraph_DIR=%INTEL_OPENVINO_DIR%\deployment_tools\ngraph\cmake"
)
:: Compile tool
if exist %INTEL_OPENVINO_DIR%\deployment_tools\tools\compile_tool (
set "PATH=%INTEL_OPENVINO_DIR%\deployment_tools\tools\compile_tool;%PATH%"
)
:: Add libs dirs to the PATH
set "PATH=%OPENVINO_LIB_PATHS%;%PATH%"

View File

@@ -61,6 +61,10 @@ if [ -e "$INSTALLDIR/deployment_tools/inference_engine/external/tbb" ]; then
export TBB_DIR=$INSTALLDIR/deployment_tools/inference_engine/external/tbb/cmake
fi
if [ -e "$INSTALLDIR/deployment_tools/tools/compile_tool" ]; then
export LD_LIBRARY_PATH=$INSTALLDIR/deployment_tools/tools/compile_tool${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
fi
if [ -e "$INSTALLDIR/deployment_tools/ngraph" ]; then
export LD_LIBRARY_PATH=$INSTALLDIR/deployment_tools/ngraph/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
export ngraph_DIR=$INSTALLDIR/deployment_tools/ngraph/cmake