Skip to content

Commit

Permalink
Disable warnings about API 1.0 in GNA, Python API 1.0 (openvinotoolki…
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov authored Nov 8, 2023
1 parent 0f260c2 commit d6cc3d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bindings/python/src/compatibility/openvino/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ if(NOT DEFINED OpenVINO_SOURCE_DIR)
PATHS "${InferenceEngineDeveloperPackage_DIR}")
endif()

# Python API 1.0 will be removed before 2024.0
ov_disable_deprecated_warnings()

if(UNIX)
# cython generated files requires public visibility. Force visibility required.
set(CMAKE_CXX_VISIBILITY_PRESET default)
Expand Down
3 changes: 3 additions & 0 deletions src/plugins/intel_gna/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ if (NOT ENABLE_INTEL_GNA)
return()
endif()

# GNA plugin will be removed before 2024.0 together with API 1.0
ov_disable_deprecated_warnings()

add_subdirectory(legacy)

set(TARGET_NAME "openvino_intel_gna_plugin")
Expand Down

0 comments on commit d6cc3d7

Please sign in to comment.