Align location to OMZ demos (#3754)

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] fix file permissions for install location

* enable make install for OMZ

* Add option description

* remove OMZ fetching & install
This commit is contained in:
Sergey Lyubimtsev 2021-01-12 17:17:47 +03:00 committed by GitHub
parent 9996994b8d
commit 51f3b33a83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ set "SOLUTION_DIR64=%BUILD_FOLDER%\inference_engine_demos_build"
echo Creating Visual Studio !MSBUILD_VERSION! %PLATFORM% files in %SOLUTION_DIR64%... && ^ echo Creating Visual Studio !MSBUILD_VERSION! %PLATFORM% files in %SOLUTION_DIR64%... && ^
if exist "%SOLUTION_DIR64%\CMakeCache.txt" del "%SOLUTION_DIR64%\CMakeCache.txt" if exist "%SOLUTION_DIR64%\CMakeCache.txt" del "%SOLUTION_DIR64%\CMakeCache.txt"
cd "%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\demos" && cmake -E make_directory "%SOLUTION_DIR64%" && cd "%SOLUTION_DIR64%" && cmake -G "Visual Studio !MSBUILD_VERSION!" -A %PLATFORM% "%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\demos" cd "%INTEL_OPENVINO_DIR%\deployment_tools\open_model_zoo\demos" && cmake -E make_directory "%SOLUTION_DIR64%" && cd "%SOLUTION_DIR64%" && cmake -G "Visual Studio !MSBUILD_VERSION!" -A %PLATFORM% "%INTEL_OPENVINO_DIR%\deployment_tools\open_model_zoo\demos"
if ERRORLEVEL 1 GOTO errorHandling if ERRORLEVEL 1 GOTO errorHandling
CALL :delay 7 CALL :delay 7

View File

@ -164,7 +164,7 @@ done < "$ROOT_DIR/demo_security_barrier_camera.conf"
printf "${dashes}" printf "${dashes}"
printf "Build Inference Engine demos\n\n" printf "Build Inference Engine demos\n\n"
demos_path="${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/demos" demos_path="${INTEL_OPENVINO_DIR}/deployment_tools/open_model_zoo/demos"
if ! command -v cmake &>/dev/null; then if ! command -v cmake &>/dev/null; then
printf "\n\nCMAKE is not installed. It is required to build Inference Engine demos. Please install it. ${run_again}" printf "\n\nCMAKE is not installed. It is required to build Inference Engine demos. Please install it. ${run_again}"