Added option to disable compile_tool (#13903)

* Updated pugixml

* Added option to disable compile_tool
This commit is contained in:
Ilya Lavrenov 2022-11-08 15:04:57 +04:00 committed by GitHub
parent d2871fd52c
commit ce7455ddb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 38 additions and 31 deletions

View File

@ -2,4 +2,5 @@ clang==11.1.0; python_version == '3.7'
clang==12.0.1; python_version == '3.8'
clang==12.0.1; python_version == '3.9'
clang==14.0; python_version == '3.10'
clang==14.0; python_version == '3.11'
pyyaml

View File

@ -10,6 +10,8 @@ ie_dependent_option (ENABLE_INTEL_CPU "CPU plugin for inference engine" ON "X86_
ie_option (ENABLE_TESTS "unit, behavior and functional tests" OFF)
ie_option (ENABLE_COMPILE_TOOL "Enables compile_tool" ON)
ie_option (ENABLE_STRICT_DEPENDENCIES "Skip configuring \"convinient\" dependencies for efficient parallel builds" ON)
ie_dependent_option (ENABLE_CLDNN "clDnn based plugin for inference engine" ON "X86_64;NOT APPLE;NOT MINGW;NOT WINDOWS_STORE;NOT WINDOWS_PHONE" OFF)

View File

@ -171,6 +171,7 @@ endif()
# Gflags
#
if(ENABLE_SAMPLES OR ENABLE_COMPILE_TOOL)
if(NOT APPLE OR CPACK_GENERATOR MATCHES "^(BREW|CONDA-FORGE)$")
# - on Apple only dynamic libraries are available
# also, we can easily mix arm64 and x86_64 binaries when cross-compile for Intel CPU
@ -205,6 +206,7 @@ else()
add_subdirectory(gflags EXCLUDE_FROM_ALL)
openvino_developer_export_targets(COMPONENT openvino_common TARGETS gflags)
endif()
endif()
#
# Google Tests framework
@ -295,7 +297,7 @@ ov_install_static_lib(nlohmann_json_schema_validator ${OV_CPACK_COMP_CORE})
if(CPACK_GENERATOR MATCHES "^(DEB|RPM|CONDA-FORGE|BREW)$")
# These libraries are dependencies for openvino-samples package
if(NOT gflags_FOUND)
if((ENABLE_SAMPLES OR ENABLE_COMPILE_TOOL) AND NOT gflags_FOUND)
message(FATAL_ERROR "gflags must be used as a ${CPACK_GENERATOR} package. Install libgflags-dev / gflags-devel")
endif()
if(NOT zlib_FOUND)

2
thirdparty/pugixml vendored

@ -1 +1 @@
Subproject commit 08b3433180727ea2f78fe02e860a08471db1e03c
Subproject commit a0e064336317c9347a91224112af9933598714e9

View File

@ -5,7 +5,9 @@
# C++ tools
#
if(ENABLE_COMPILE_TOOL)
add_subdirectory(compile_tool)
endif()
if(ENABLE_SAMPLES)
add_subdirectory(legacy/benchmark_app)