Skip to content

Commit

Permalink
Removed deprecated cmake vars (#24687)
Browse files Browse the repository at this point in the history
### Details:
 - *item1*
 - *...*

### Tickets:
 - *ticket-id*
  • Loading branch information
ilya-lavrenov committed May 25, 2024
1 parent 72028b7 commit e91c8bc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 17 deletions.
8 changes: 0 additions & 8 deletions cmake/developer_package/coverage/coverage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,3 @@ function(ov_coverage_merge)

add_dependencies(ov_coverage_${OV_COVERAGE_OUTPUT}_info ${dependencies})
endfunction()

# deprecated

if(NOT TARGET ie_coverage)
add_custom_target(ie_coverage)
set_target_properties(ie_coverage PROPERTIES FOLDER coverage)
add_dependencies(ie_coverage ov_coverage)
endif()
3 changes: 0 additions & 3 deletions cmake/developer_package/options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,11 @@ endif()
macro(ov_option variable description value)
option(${variable} "${description}" ${value})
list(APPEND OV_OPTIONS ${variable})
list(APPEND IE_OPTIONS ${variable})
endmacro()

macro(ov_dependent_option variable description def_value condition fallback_value)
cmake_dependent_option(${variable} "${description}" ${def_value} "${condition}" ${fallback_value})
list(APPEND OV_OPTIONS ${variable})
list(APPEND IE_OPTIONS ${variable})
endmacro()

macro(ov_option_enum variable description value)
Expand All @@ -31,7 +29,6 @@ macro(ov_option_enum variable description value)
endif()

list(APPEND OV_OPTIONS ${variable})
list(APPEND IE_OPTIONS ${variable})

set(${variable} ${value} CACHE STRING "${description}")
set_property(CACHE ${variable} PROPERTY STRINGS ${OPTION_ENUM_ALLOWED_VALUES})
Expand Down
2 changes: 1 addition & 1 deletion cmake/extra_modules.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ endif()\n")

# detect where OPENVINO_EXTRA_MODULES contains folders with CMakeLists.txt
# other folders are supposed to have sub-folders with CMakeLists.txt
foreach(module_path IN LISTS OPENVINO_EXTRA_MODULES IE_EXTRA_MODULES)
foreach(module_path IN LISTS OPENVINO_EXTRA_MODULES)
get_filename_component(module_path "${module_path}" ABSOLUTE)
if(EXISTS "${module_path}/CMakeLists.txt")
list(APPEND extra_modules "${module_path}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ReluReluFusionMatcher;
// ! [graph_rewrite:template_transformation_hpp]
// transformations/template_pattern_transformation.hpp
/**
* @ingroup ie_transformation_common_api
* @ingroup ov_transformation_common_api
* @brief Add transformation description.
*/
class ov::pass::DecomposeDivideMatcher : public ov::pass::MatcherPass {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class ov::pass::NopSliceBeforeGatherElements : public ov::pass::MatcherPass {
};

/**
* @ingroup ie_transformation_common_api
* @ingroup ov_transformation_common_api
* @brief NopStridedSlice eliminates Strided Slice in case
* tensors were not changed
*/
Expand All @@ -170,7 +170,7 @@ class ov::pass::NopStridedSlice : public ov::pass::MatcherPass {
};

/**
* @ingroup ie_transformation_common_api
* @ingroup ov_transformation_common_api
* @brief NopStridedSlice eliminates Strided Slice in case
* tensors were not changed
*/
Expand All @@ -181,7 +181,7 @@ class ov::pass::NopStridedSliceByShape : public ov::pass::MatcherPass {
};

/**
* @ingroup ie_transformation_common_api
* @ingroup ov_transformation_common_api
* @brief PrepareShapeOpsForEliminationAroundBE works on the subgraph like
* Reshape/Squeeze/Unsqueeze -> BinaryElementwiseOperation -> Reshape/Squeeze/Unsqueeze
* and prepares it for the following optimizations by moving bottom op up through Binary op
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace ov {
namespace pass {
/**
* @ingroup ie_transformation_common_api
* @ingroup ov_transformation_common_api
* @brief Converts AvgPool v14 to AvgPool v1
*/
class TRANSFORMATIONS_API ConvertAvgPool14ToAvgPool1 : public MatcherPass {
Expand Down

0 comments on commit e91c8bc

Please sign in to comment.