From 6d86a9b25f97049f93912f1f14105c965124ffd9 Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Fri, 21 Jul 2023 13:09:30 +0400 Subject: [PATCH] Revert "[PyOV] Pin version of Cython for API 1.0 (#18604)" (#18681) * Revert "[PyOV] Pin version of Cython for API 1.0 (#18604)" This reverts commit 787796d88fb5c522d66f02273fb7841cedd1e1db. * Suppressed clang warning --- .../compatibility/openvino/inference_engine/CMakeLists.txt | 6 +++++- .../python/src/compatibility/openvino/requirements-dev.txt | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/bindings/python/src/compatibility/openvino/inference_engine/CMakeLists.txt b/src/bindings/python/src/compatibility/openvino/inference_engine/CMakeLists.txt index fe628c9c70a..a8816b290f3 100644 --- a/src/bindings/python/src/compatibility/openvino/inference_engine/CMakeLists.txt +++ b/src/bindings/python/src/compatibility/openvino/inference_engine/CMakeLists.txt @@ -21,9 +21,13 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") # 'argument': conversion from 'size_t' to 'int', possible loss of data ie_add_compiler_flags(/wd4267) ie_add_compiler_flags(/wd4244) + ie_add_compiler_flags(/wd4551) endif() -if (OV_COMPILER_IS_CLANG OR CMAKE_COMPILER_IS_GNUCXX) +if(OV_COMPILER_IS_CLANG OR CMAKE_COMPILER_IS_GNUCXX) ie_add_compiler_flags(-Wno-undef) + if(OV_COMPILER_IS_CLANG) + ie_add_compiler_flags(-Wno-parentheses-equality) + endif() endif() if(UNUSED_BUT_SET_VARIABLE_SUPPORTED) ie_add_compiler_flags(-Wno-unused-but-set-variable) diff --git a/src/bindings/python/src/compatibility/openvino/requirements-dev.txt b/src/bindings/python/src/compatibility/openvino/requirements-dev.txt index 1b36134de0b..aca50982d0d 100644 --- a/src/bindings/python/src/compatibility/openvino/requirements-dev.txt +++ b/src/bindings/python/src/compatibility/openvino/requirements-dev.txt @@ -1 +1 @@ -cython>=0.29.32,<=0.29.36 +cython>=0.29.32